Error starting 'sbt start-device'

I am trying to get settings using sbt and sbt android-plugin on Mac OS 10.6.6. I installed all the files and can run the Android SDK manager from the command line. The android platform will create an sbt project.

However, when I try to start sbt start-device , I get the following error:

Error running aapt-generate: java.lang.RuntimeException: You need to set ANDROID_SDK_HOME or ANDROID_SDK_ROOT or ANDROID_HOME

But if I run echo $ANDROID_HOME , I get /Users/paul/opt/android-sdk-mac_x86

And the android-sdk-mac_x86 / tools folder is in my path. What gives?

+4
source share
1 answer

Ok, you set $ANDROID_HOME , but do you have export ed?

+3
source

Source: https://habr.com/ru/post/1341531/


All Articles