android sdk not found (copy to device and launch)

I can’t remember if a logout is needed after doing it.

By “restart the simulator”, you mean quitting the simulator fully and re-opening it right?

yes…

i close the simulator completly and than restart

just a few more outputs

RbMBA:~ snowwhitesinai$ launchctl getenv ANDROID_SDK

/Users/snowwhitesinai/Dropbox/orga/SourceCodes/android/newsdk/

RbMBA:~ snowwhitesinai$ cd /Users/snowwhitesinai/Dropbox/orga/SourceCodes/android/newsdk/

 

RbMBA:newsdk snowwhitesinai$ ls

SDK Readme.txt build-tools extras platforms sources temp

add-ons docs platform-tools samples system-images tools

 

RbMBA:newsdk snowwhitesinai$ ls tools

NOTICE.txt draw9patch jobb monkeyrunner traceview

adb emulator lib proguard uiautomatorviewer

android emulator64-arm lib64 screenshot2

ant emulator64-mips lint source.properties

apps emulator64-x86 mksdcard support

ddms hierarchyviewer monitor templates

Just note that setting that launchctrl command actually doesn’t persist sesions in my experience.

To get osx to execute it every boot…(so you can set and forget :slight_smile: )

  1. Download this: https://dl.dropboxusercontent.com/u/28484098/Misc/environment.plist.zip

  2. Unzip it (it’s  plist)

  3. Place the unzipped plist file in ~/Library/LaunchAgents

Reboot computer and try again

EDIT : Uploaded the wrong file. Please download it again and repeat the procedure. You should be all set after this

Hi, i did as u said and rebootet

the RbMBA:~ snowwhitesinai$ launchctl getenv ANDROID_SDK

didnt showed nothing… (seems this auto plist did not worked)

i did  launchctl setenv ANDROID_SDK $ANDROID_SDK

manually again and tested the simulator … WORKED :slight_smile:
thank u so much !!! Finally !

Now I just have to look why this setenv did not worked automatically after restart.

anyhow its a big step forward.

thank u again

greets

chris

Glad you got it working Chris!

We got there in the end :wink:

yeah… super great :slight_smile:
Thank you again. WIthout ur help I may still not get it work …