Saturday, May 25, 2013

Resolving NME Android build fail after upgrading SDK to version 22

I just met a problem with NME deployment to android after I upgraded the SDK to v22. The problem would look something like this

D:\Programming\SDKs\android-sdk-windows\tools\ant\build.xml:479: SDK does not have any Build Tools installed.

After going for a googling for a while I found out from this stackoverflow question that now android separate the platform-tools and build-tools. you can check on android sdk folder that now there is build-tools folder inside. To resolve this problem we need to open the SDK Manager and install the missing build tools. 

At first when I update the sdk to v22 this Android SDK build-tool doesn't exist, but after updating the  list it showed up on the list. Install it and the problem can be solved. have fun :)