Appcelerator can't find Android SDK

1.1k views Asked by At

Appcelerator was working fine on my Windows 10 PC a few days ago. Today when I try to build my app I get error messages. Suddenly Appcelerator can't find the Android SDK on my machine.

enter image description here

enter image description here

I know the SDKs are there, I'm not sure why it can't find them.

I have tried reinstalling Appcelerator Studio, Appcelerator CLI, Node, Java, and the Android SDK's all to no avail.

3

There are 3 answers

0
lawjeremy On BEST ANSWER

I have run into this issue several times, and it appears to be related to my system path pointing at the wrong version of Java. I have both the 32 bit and 64 bit versions of Java installed. Appcelerator requires the 32 bit. If my path is pointing at the 64 bit version I see this error. Changing the path fixes the problem.

1
Kondal Kolipaka On

You can try these steps:

  1. Clean your current CLI - delete .appcelerator/install/ 5.2.0-265
  2. [sudo] npm install -g [email protected]
  3. appc use 5.2.0-265

Now run appc ti info and look for android sdk.

2
xdevs23 On

Install Android SDK from here and set the path to the installation location, preferrably %APPDATA%\android-sdk or similar.