Hi folks,
I’m trying Corona at the moment in an attempt to streamline my development process for 2D games. I’m trying to build for Android and keep getting:
The Android SDK does not appear to be installed/configured on this computer. It is needed to install apps on Android devices.
To enable adb for Android device installation:
-
install the Android SDK
-
make sure the ANDROID_SDK environment variable is available to the Corona Simulator:
launchctl setenv ANDROID_SDK <path-to-sdk>
- restart the Corona Simulator"
I’ve done all this. Echoing the path gives me:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/tools:/platform-tools:/Users/myname/Android/sdk/tools:/Users/myname/Android/sdk/platform-tools
I have set the environment variable. My .bash_profile script is:
export ANDROID_SDK=/Users/denecarter/Android/sdk
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/tools:/platform-tools:/Users/myname/Android/sdk/tools:/Users/myname/Android/sdk/platform-tools
My path is fine. I can run both ‘adb’ and ‘android’ from anywhere, and they work.
The environment variable is set: ‘printenv’ gives me: ANDROID_SDK=/Users/myname/Android/sdk
I have shut down Corona… as well as my entire machine, and I still get this error message.
I’ve successfully created, built and run libgdx projects and Unity projects with no issues, on this machine, with this setup.
Any hints? This is… discouraging, to say the least.
- D