Titanium Community Questions & Answer Archive

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

Newbie - Windows 7 / Android installation instructions/versions

It would be helpful to have complete instructions for installing to Windows for android - with latest set of versions that all work together. If anyone can point me in the right direction, it would be appreciated.

I have gotten Titanium Developer 1.2.1 installed, and seem to be able to get it to run with an 0.7.0 Titanium SDK (I had an old installer lying around from when I tried this a few months ago). However, when I change it to point to the 1.2.0 SDK I get the following error:

"C:ProgramData/Titanium/mobilesdk/win32/1.2.0/android/androidsdk.py", line 66, in find_platform_dir
[TRACE] raise Exception("Couldn't find platform directory for API level %s" % self.api_level)
[TRACE] Exception: Couldn't find platform directory for API level 4

Should the 1.2.0 SDK work?

I am using the newer version of android.py as suggested in some other posts.



— asked April 11th 2010 by Ben Nathan
  • android
  • install
  • versions
  • windows

2 Answers

  • Hi Ben,

    Unfortunately, there still aren't any good official docs about the pre-reqs needed for Android dev.

    My blog entry on Ubuntu install of Titanium (for Android dev) will nonetheless help you a bit, because the pre-reqs are similar.

    Specifically, from your error trace I see that it's looking for Android SDK 1.6 (AKA "api level 4"). So you'll need to…

    • Be sure you have Android dev kit 1.6 installed and…
    • Tell Titanium where to find your installation of the Android dev kit. You do that on the "profile" perspective in Titanium Developer (that's the one that corresponds to the solo head/person on the "perspective" button set on the upper left of Ti Dev.)

    I hope that helped.



    — answered April 12th 2010 by Bill Dawson
  • Thanks. That worked.


    — answered April 12th 2010 by Ben Nathan
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.