Search code examples
androidappceleratorappcelerator-studioappcelerator-cli

Appcelerator can't find Android SDK


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.


Solution

  • 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.