Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Android SDK Issue(s) - Cannot recognize the SDK for testing

I have read all of the different posts about this issue and none have assisted me so far.

Issue: I can get the Titanium Developer to recognize Android is installed but when I go to emulator the SDK and Screen drop down menu's just say "loading". I have posted the console message from Titanium and the results of the "export" command from my machine. I can test on iPhone just fine, but not on Android. I cannot build in Android either. Please help! Thanks!

Console Message when trying to test with Android:
6/29/10 8:11:18 PM [0x0-0xad0ad].com.appcelerator.titanium.developer[3972] [00:11:18:219] [Titanium.API] [Information] (JavaScript.KKJSList) [ "/Library/Application Support/Titanium/mobilesdk/osx/1.3.2/android/avd.py", ""/Users/braddschick/Android/platforms/android-1.5"", ]

Result of export cmd:
declare -x PATH="/opt/android-sdk:/opt/android-sdk/platforms/android-4/tools:/opt/android-sdk/tools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/opt/PalmSDK/Current/bin:/usr/X11/bin"


— asked June 29th 2010 by Bradd Schick
  • android
  • issues
  • sdk

4 Answers

  • Android 1.6 is the minimum - do you have it installed?

    — answered June 29th 2010 by David Ashwood
    1 Comment
    • Hi! Any luck with this? I'm not having the exact same trace as you bud I'm having the same exact problem.

      — commented December 27th 2010 by Patrik Totero
  • Yes I have ALL android sdk's installed 1.5, 1.6, 2.0, 2.1, 2.2.

    — answered June 29th 2010 by Bradd Schick
  • The output you've pasted shows that it's trying to use 1.5 rather than 1.6.
    I suspect it's either your path or how you've linked /opt.

    My opt is: android-sdk -> /usr/local/android-sdk-linux/
    And my path is: ".:/opt/android-sdk/platforms/android-1.6/tools:/opt/android-sdk/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin"

    — answered June 29th 2010 by David Ashwood
  • After reviewing and reinstalling Android 1.6 and removing all others I still cannot get Titanium to recognize Android for testing and emulation. I have no Android-1.5 folder or Path annotated anywhere on my Mac yet the console message still shows the 1.5 folder path as listed earlier. Any other ideas?

    — answered July 2nd 2010 by Bradd Schick
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.