Script47
Script47

Reputation: 14530

Appcelerator Titanium - Problems detected with the SDK settings

So I have the error in the title, I have got several fresh copies of the Android SDK and Titanium. Still getting the error. I tried several other fixes non worked.

The error I am getting.

Upvotes: 2

Views: 1814

Answers (2)

Jelmer Jellema
Jelmer Jellema

Reputation: 1116

I chatted with Ricardo Alcocer from Appcelerator, because we have problems like this with every Titanium Update.

He suggested this (after some trying out):

  • Remove the .titanium folder in your home directory. So that would be - on windows - /users/yourname/.titanium. It will be recreated. (You could make a backup)

  • Check the titanium (not Studio) configuration in a command window by running 'titanium setup check' (see http://www.appcelerator.com/blog/2014/03/quick-tip-use-the-titanium-cli-to-find-details-about-your-configuration/).

    • If there is a problem with the Android or SDK location, use titanium setup for reconfiguring. It has a nice menu.

    • Restart Studio, choose to configure Android, and choose the right Ti SDK for your project.

Hope this helps!

Jelmer

Upvotes: 3

Alejandro F. Carrera
Alejandro F. Carrera

Reputation: 403

For install Titanium SDK, i always recommend (Windows):

  1. Unnistall all Android references, Node.js, Titanium SDK (Users\\AppData\Roaming\Titanium), clean all folders and registry (ccleaner or other) and reboot system.

  2. Unzip Android SDK r22 and install or update any Android Machines less Android SDK (android.bat)

  3. Install Android NDK

  4. Set ANDROID_HOME and NDK_HOME at OS Path (+ reboot)

  5. Install Latest Titanium Studio SDK + Node.js

  6. Check Android SDK and NDK over Titanium SDK preferences

Upvotes: 1

Related Questions