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 and Titanium

Hi all,

I'm new to app development, so bear with me if I'm missing something simple.

Yesterday I installed the xCode and iOS SDK along with the Android SDK. I also installed Titanium Developer and the Kitchen Sink. Right from the start it hasn't been working properly, I cannot create a new mobile project under the 1.4.2 or the 1.5.0 nightly build SDKs. I get the "error creating project" message. I can however create a project under the 1.2.0 SDK, and change the SDK to 1.4.2 or 1.5.0, but then I have no Android support. It doesn't show the Android tab under Run Emulator and under the Distribute and Run On Device tabs it says that this project isn't configured for Android. I do have the Android tab under Run Emulator for the Kitchen Sink, but the SDK and Screen options just say loading and never allow me to set up the AVD.

Any help would be greatly appreciated!

Thanks

Pat

— asked November 26th 2010 by Patrick Putnam
  • android
  • mac
  • mobile
  • os
  • x
0 Comments

4 Answers

  • Thanks for the quick reply Aaron.

    I already downloaded all of the available files through the Android SDK. I have no issues with iPhone, that's working fine.

    — answered November 26th 2010 by Patrick Putnam
    permalink
    4 Comments
    • look at page 15 in the getting started guide, it explains how to set the proper path for the Android SDK

      — commented November 26th 2010 by Aaron Saunders
    • The path is set correctly, I used that guide when setting everything up.

      — commented November 26th 2010 by Patrick Putnam
    • the error message is consistent with not being able to locate android sdk. does you android sdk manager look like this? http://postimg.com/image/25000/24974.jpg and does the sdk path match what is set in Titanium Developer

      — commented November 26th 2010 by Aaron Saunders
    • Figured it out. Apparently Titanium doesn't like the Android SDK to be in the root folder. Thanks for all your help along the way!

      — commented November 26th 2010 by Patrick Putnam
  • For those with the same issue:

    Figured it out. Apparently Titanium doesn't like the Android SDK to be in the root folder. Before I had it at /android-sdk, set it to /Users/Pat/Desktop/Apps/android-sdk and it works like a charm. The Getting Started guide actually recommends putting the SDK in your root, so I'll shoot them an e-mail about that.

    Hope this helps someone else!

    Pat

    — answered November 26th 2010 by Patrick Putnam
    permalink
    1 Comment
    • My guess is that you had a permissions problem. For OSX we should be recommending /opt/android-sdk, not /android-sdk. In either case, you need to make sure you've made the files visible to your user.

      — commented November 27th 2010 by Don Thorp
  • I have all of the SDK's downloaded, but I'm getting this issue, too. It's not in the root, either. It is, however, in a separate drive. Don't know if that might be the cause?

    Lee

    — answered December 15th 2010 by Lee Sylvester
    permalink
    1 Comment
    • Are you on OSX or Linux? If you're on Windows it needs to be on the same drive for now. We've run into several issues when it's spread around.

      — commented December 15th 2010 by Don Thorp
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.