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 not recognized, tried replacing android.py and still does not work


I am new to using titanium. I recently install Titanium 1.2.1 and it will not recognize the android SDK. It says that it has found it, but does not give me the option to the launch the AVD.

I read the thread about replacing the android.py. I did this and still no dice. Any suggestions?

Also is there an uninstall program for mac for titanium. I noticed that titanium put files in all kinds of places, how can I fully uninstall it?

Thanks in advance,

— asked May 7th 2010 by Patrick Waters
  • android
  • mac
  • problems
1 Comment
  • Hello all,

    I am new to Titanium and just trying to walk with titanium. I am also having the same problem.

    I have the android sdk for mac and I could open the ADK manager also through /tools/android, but when i try to save changes in my profile, Android SDK is not recognized. I am able to do with iPhone but android am not able to.

    Could any one help me to resolve this beginner's problem?

    Thanks in advance, Tejaswi Marakini

    — commented May 20th 2011 by Tejaswi Marakini

7 Answers

  • Make sure you've pointed at the root of the ADK, not into a subdirectory of it. You can check that setting on the profile page in TiDeveloper. You also need to insure that you've downloaded the 1.6 (API Level 4) platform using the android command. If you look in the Guides section of the documentation, you'll see a HowTo for OS X. The first part of the building document is general setup.

    We should be releasing 1.3.0 shortly and that will fix a lot of the android issues.

    As far as uninstall, it should just be in /Library Support/Titanium, ~/Library Support/Titanium, ~/.titanium, and probably /Applications/Titanium Developer.

    — answered May 7th 2010 by Don Thorp
  • Hi.

    I also had problems on Windows 7 with emulation. Try these steps:

    1. Download and unpack Android SDK.

    2. Run Android SDK update (it's SDK Setup.exe file in the unpacked SDK folder). Select Available packages. Select and install SDK platform ANDROID 2.1, API7, rev1 (and others if you like).

    3. Setup JDK like described here: http://developer.appcelerator.com/doc/mobile/get_started

    4. Setup Titanium developer and download Titanium Android SDK 1.3 (dont know the link…)

    5. then run titanium and point to the sdk and create new mobile project (1.3 version, because 1.2 did not work for me).

    If you have any troubles let me know.

    Kind regards, Miha

    — answered May 7th 2010 by Miha Jakovac
  • Thanks so much for the fast response.

    Don, I did what you told me. I checked where TIDeveloper was pointing to for the SDK. I am pointing it at the root of the android directory. I have also ran and installed all updates and packages from the AVD manager. I have experience with developing for android and have built application on the computer I using now with eclipse. I am also able to the AVD from the AVD manager. Any other thoughts?

    Miha, thanks for the response, but I don't use windows, so much of that doesn't relate. Also why are you using android SDK 1.3. Titanium requires 1.6 or higher.

    — answered May 7th 2010 by Patrick Waters
  • Oddly enough, I just downloaded the kitchen sink example and imported it, then android showed :|

    — answered May 7th 2010 by Patrick Waters
  • Ok, now it is giving me the to start the android AVD, but it isn't installing the app when I launch the device.

    — answered May 7th 2010 by Patrick Waters
  • He's talking about using the1.3 Android Nightly Builds there were several project creation issues in 1.2.0. Your best bet is to get a nightly and then recreate your project.

    This system doesn't send an email when the thread is updated. Please feel free to ping me on twitter @donthorp if I haven't gotten back in a while.

    — answered May 7th 2010 by Don Thorp
  • I had this problem and fixed it by adding a build/android folder into to the project root. Works now.

    — answered February 9th 2011 by Ian Cox
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.