Did anyone resolve this problem ?
-
Possible duplicate of "SDK Platform Tools component is missing!"– Alex P.Oct 1, 2016 at 16:04
2 Answers
I found the solution. Google recently changed the package and location of zipalign in SDK Rev. 23 and the IDE is no longer able to find the file.
- Run the SDK Manager and upgrade the Android SDK Tools to version 23.0.2 and Android SDK Platform-tools to version 20.
- Once the above items are installed a new item will appear in the list: Android SDK Build-tools version 20. Select and install this package, it is the new package location for zipalign.
- Update the IDE to point to the new location for zipalign. Off of the main menu in the IDE select Tools | Options | Environment Options | SDK Manager. Update the ZipAlign location to point to the new Build-Tools 20 directory. By default in RAD Studio XE6 this will be C:\Users\Public\Documents\Embarcadero\Studio\14.0\PlatformSDKs\adt-bundle-windows-x86-20131030\sdk\build-tools\20.0.0\zipalign.exe. It will be in a similar location for Appmethod.
adb
is a part of the optional platform-tools
package which if needed should be installed separately from the SDK Manager
.
aapt
and zipalign
come with the build-tools
package. Unlike platform-tools
(every version of which gets installed into the same folder) each version of build-tools
installs into its own subfolder - so you may want to make sure that your Delphi config points to the desired (and installed) version.