I follow the instructions in README.md and doc Deploy Models and Integrate TVM. When execute
gradle clean build
two error occured.
1: Task failed with an exception.
What went wrong:
Execution failed for task ‘:app:buildJni’.
A problem occurred starting process ‘command ‘ndk-build’’
…
Caused by: java.io.IOException: Cannot run program “ndk-build” (in directory “/home/tvm/tvm/apps/android_rpc/app”): error=2, No such file or directory
at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
… 6 more
Caused by: java.io.IOException: error=2, No such file or directory
… 7 more
2: Task failed with an exception.
What went wrong:
java.lang.StackOverflowError (no error message)
I have already set ANDROID_HOME and PATH, and I can execute ndk-build in my command line.