Skip to content

Android support #41

Open
Open
@awernick

Description

@awernick

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:

ERROR! app.sdk_path should point to a valid Android SDK directory.
[Finished in 0.9s]

Launchd.conf:

setenv PATH /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/awernick/.rvm/gems/ruby-2.1.5/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin:/sbin:/opt/x11/bin:/Users/awernick/.rbenv/shims:/Users/awernick/.rvm/gems/ruby-2.2.0/bin:/Users/awernick/.rvm/gems/ruby-2.2.0@global/bin:/Users/awernick/.rvm/rubies/ruby-2.2.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/msp430-toolchain/bin:/Users/awernick/.rvm/bin:/Users/awernick/android-rubymotion/sdk:/Users/awernick/android-rubymotion/ndk
setenv RUBYMOTION_ANDROID_NDK /Users/awernick/android-rubymotion/ndk
setenv RUBYMOTION_ANDROID_SDK /Users/awernick/android-rubymotion/sdk

RUBYMOTION_ANDROID_NDK variable

Alans-MacBook-Air:~ awernick$ $RUBYMOTION_ANDROID_NDK
-bash: /Users/awernick/android-rubymotion/ndk: is a directory

RUBYMOTION_ANDROID_SDK variable

Alans-MacBook-Air:~ awernick$ $RUBYMOTION_ANDROID_SDK
-bash: /Users/awernick/android-rubymotion/sdk: is a directory

PATH variable

Alans-MacBook-Air:~ awernick$ $PATH
-bash: /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/awernick/.rvm/gems/ruby-2.1.5/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin:/sbin:/opt/x11/bin:/Users/awernick/.rbenv/shims:/Users/awernick/.rvm/gems/ruby-2.2.0/bin:/Users/awernick/.rvm/gems/ruby-2.2.0@global/bin:/Users/awernick/.rvm/rubies/ruby-2.2.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/msp430-toolchain/bin:/Users/awernick/.rvm/bin:/Users/awernick/android-rubymotion/sdk:/Users/awernick/android-rubymotion/ndk: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions