I’m having an extremely difficult day today. I’ve installed the latest version on Titanium Studio and the android sdk. When I want to create a new project in TS I don’t have android stupport. So I try and set it up manually by pointing TS to the sdk install directory which is (C:\Android\android-sdk-r18).
I then get this error:
Titanium SDK Home: The Desktop-SDK root
path’C:\Users\Dean\AppData\Roaming\Titanium\sdk\win32′ is not a
directory. Android SDK Home: Exception, No android-8 or android2.2 in
the Android SDK. Unexpected character(T) at position 0;
This is absolute rubbish because I most def have android 2.2 right up to android 4.0.3 installed in my sdk.
PS – I’m running Windows 7 64bit, with java 1.7 32bit installed.
Any ideas?
We just spent a couple days wrestling with this problem. The issue is with the latest version of the mobile sdk that you’ve installed. Titanium Studio actually uses the following script to validate the Android SDK path in the configuration window:
MAC path looks like this:
/Library/Application Support/Titanium/mobilesdk/osx/sdk_version_number_here/android/avd.py
Based on your post, your path is probably something like:
C:\Users\Dean\AppData\Roaming\Titanium\mobilesdk\win32\sdk_version_number_here\android\avd.py
If you browse to the folder and look for that script, it’s probably missing. We just deleted that version of the sdk (for us it was 2.0.1.GA2). Then went to Help -> Check for Updates to reinstall the latest version.