Open guraaf opened 4 years ago
I think I've seen this happen when the Android SDK isn't found. I don't remember the exact solution, though. Maybe run export ANDROID_HOME=/path/to/android/sdk
? Or maybe try opening it with Android Studio to see if it creates a local.properties with the correct path?
Thanks @dreiss. This fixed the issue. One more quick question (hopefully last one?) - which and where does one get an emulator? gradlew installDebug now complains of no device being connected.
Does the Pytorch Mobile community have a preferred and suggested device emulator for MacOS or Linux distros?
The emulator is integrated with Android Studio: https://developer.android.com/studio/run/emulator
I tried to build Pytorch demo app for the first time. I am new to gradlew etc. having only used CMake and Make etc for C/C++ builds in past. I tried the following steps but installDebug is not found. ./gradlew tasks definitely doesn't have any installDebug tasks.
Is the documentation old or am I missing a step or two below? I do have Android SDK and NDK installed as far as I can tell.