If you install RAD Studio XE7 and then upgrade Android SDK to version 23, you won’t be able to deploy applications to Android devices anymore.
The reason for that is that ZipAlign.exe was moved out of sdk\tools folder in SDK 23 and XE7’s deployment process cannot find it anymore. Now it is located in sdk\build-tools\20.0.0, but only is Android SDK Build-tools rev. 20 are installed, which doesn’t happen automatically.
To fix my Delphi I first had to install Build tools rev. 20. Then I copied sdk\build-tools\20.0.0\zipalign.exe to sdk\tools\zipalign.exe. That fixed the deployment problem.
I’m hoping Embarcadero will fix this in the next update, but for now you can use this workaround.
[Android sdk folder can be found in c:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\adt-bundle-windows-x86-20131030\sdk]
Hello, I believe that simply changing the path in [Tools\Options\SDK Manager\Android\SDK\Zip Align location] is a better way. So, there is no need for a special fix, as the Delphi IDE is ready to correct the path. Best regards :) Zdzislaw
ReplyDeleteZipAlign.exe is missing in the latest Android SDK.
ReplyDeletesearch ZipAlign.exe it should be present in some other folder i faced the same problem.
DeleteOpen the SDK-Manager from Tools/Options, press Add, fill 2 edits (path to SDK,NDK), press Next, wait and press Finish ... thats all. Maybe too complicated :o)
ReplyDeleteXE8 .... same failure ... bravo ...
ReplyDeleteI managed you need to run the Andoid SDK Manager (Documents\Embarcadero\16.0\PlatformSDKs\android-sdk-windows\SDK Manager.exe) and to install build tools. It will download and install the latest tools. Then you have to manually change SDK Manager settings in Tools/Options according to the downloaded version.
ReplyDeleteif possible use seattle with sdk api 30 (android 11) ?
ReplyDelete