Open awernick opened 9 years ago
I was able to find a solution for my problem. Apparently OSX Yosemite does not set enviornment variables through Launch.d anymore. A work around was to use launchctl to set the necessary variables, although this is only for the current session and will be wiped after a reboot.
To set the environment variables in Yosemite use
launchctl setenv RUBYMOTION_ANDROID_NDK $RUBYMOTION_ANDROID_NDK
launchctl setenv RUBYMOTION_ANDROID_SDK $RUBYMOTION_ANDROID_SDK
then close SublimeText and MotionBuilder should work correctly.
Now, not support Android platform.
Hi,
I'm experiencing this error when i run rake device:
ERROR! app.sdk_path should point to a valid Android SDK directory. Run 'motion android-setup' to install the latest SDK version.
when i attempt to create an android application using RubyMotion on a mac. I've tried the awernick answer and still receive the same error.
Someone know how to solve the problem? I found that $RUBYMOTION_ANDROID_SDK is not set on my Mac
Using the latest build from Package Installer, SublimeRubyMotionBuilder keeps complaining about the android.sdk_path not pointing to a valid Android SDK directory. Running rake commands works without any hiccup, and I have insured that my launchd.conf config contains the instruction to add the PATH variable.
Using OSX Yosemite and latest RubyMotion
Error Message:
Launchd.conf:
RUBYMOTION_ANDROID_NDK variable
RUBYMOTION_ANDROID_SDK variable
PATH variable