timmywanttolearn opened a new issue, #12327: URL: https://github.com/apache/tvm/issues/12327
# The Bug. Hi, I am trying to build "android_camera" on my laptop and install it on google pixel 2. But after building the tvm4j and installing Gradle and other tools, it fails to build the demo. https://github.com/apache/tvm/tree/main/apps/android_camera After inputting `gradle clean build`, it shows this result. ``` > Task :app:buildJni FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:buildJni'. > A problem occurred starting process 'command 'ndk-build'' ``` I realize that maybe the path is not right. So I input `gradle clean build --stacktrace`. The result is ``` Caused by: java.io.IOException: Cannot run program "ndk-build" (in directory "/home/timmy/Documents/research/tvm/apps/android_camera/app"): error=2, No such file or directory at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25) ``` That is weird because the path is correct. However, I try to manually execute the ndk-build command. Other wrong results shows up and it is unable to build. # Environment gradle --version 7.5 ndk --version r25 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
