Reputation:
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?
Upvotes: 1
Views: 5456
Reputation: 423
1.Go to Help->Install Titanium sdk from url
2.add this url - http://api.appcelerator.net/p/v1/release-download?token=b4pNB8S6
3.Let it download (around 48 MB)
4.Restart Titanium Studio. It should all work fine.There shouldnt be any error about desktop sdk path now.
For missing android sdk error :-
Make sure you have android sdk version 2.2 installed
Upvotes: 1
Reputation: 1634
Here is the solution for error:
[Titanium SDK Home] The Desktop-SDK root path /Library/Application Support/Titanium/sdk/osx' is not a directory
Upvotes: 0
Reputation: 60
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.
Upvotes: 2
Reputation: 1281
This answer may be useful to you. Also I think you need to use 32 bit java 1.6
as titanium studio does not work with java 1.7
Basically you need to put titanium-sdk at C:\Users\Dean\AppData\Roaming\Titanium\mobilesdk\win32 folder.
Either you can manually download compressed file from here, uncompress the file (mobilesdk and module folders) to C:\Users\Dean\AppData\Roaming\Titanium\
or you need to do Titanium Studio->help->check for titanium sdk update
.
I would prefer you go with "check for titanium sdk update"
hope this helps
Upvotes: 1