Use Android Studio to install tvm android_deploy demo on Android device

Hi, I’m wondering if there is a way I can install the tvm android_deploy demo from Android Studio instead of doing “gradle clean build” from the command line. The reason I’m asking is because I’m trying to apply the same framework of the demo on a different model, and right now I can’t see any log or error messages when the app crashes because the app is not installed via android studio. I think it will be much more efficient for debugging purposes if I can see what causes the error. Thanks!

(I can successfully build the APK by “gradle clean build” but right now when I try to run the demo from Android Studio, the error is “Process ‘command ‘sh’’ finished with non-zero exit value 127”. I tried many different ways to resolve the issue such as resetting JAVA_HOME or Android NDK path, which are helpful in the command line but don’t make any difference in Android Studio.)

If you can paste the entire error that you see on the console, I can help you with that. I am able to run the demo from android studio.