I recently upgraded Titanium, and possibly also my Android SDK (this is getting a bit messy, with the old SDK, used by Titanium, living along with the new SDK brought by the new, beta, Android Studio). And when compiling an app for Android, which I hadn’t done in a long while, I encountered this error:
[ERROR] : Unable to find Android SDK tools: zipalign.
[ERROR] : You have an incomplete or out-of-date installation.
[ERROR] : Verify your Android SDK packages or reinstall the Android SDK by running titanium setup android or manually downloading from http://appcelerator.com/android-sdk.
I opened the Android SDK manager, but no obvious package seemed to be missing. Finally, I found someone suggesting to move around that “zipalign” tool itself. So, I eventually found zipalign.exe
in adt-bundle-windows-x86_64\sdk\build-tools\android-4.4W
, and copied it into adt-bundle-windows-x86_64\sdk\tools
. Success! 🙂
Also, thanks very much to the guy who posted a close enough answer there: http://developer.appcelerator.com/question/175598. Too bad his answer wasn’t marked as the proper solution, the chosen one is rubbish…
The worst thing with that issue, is that it will reappear on various occasion (probably whenever you upgrade the Android sDK): I just had to fix it _again_……