Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!

[PAClient Error] Error: E2820 Could not find program… zipalign.exe

Author: David P

This error message can occur when trying to deploy a mobile application to Android if you recently updated the Android SDK version that is being used by the IDE.   Google recently changed the package and location of zipalign in SDK Rev. 23 and the IDE is no longer able to find the file.  The full error message in RAD Studio is:

[PAClient Error] Error: E2820 Could not find program, ‘C:UsersPublicDocumentsEmbarcaderoStudio14.0PlatformSDKsadt-bundle-windows-x86-20131030sdktoolszipalign.exe’

A similar error message occurs in Appmethod.  Embarcadero recommends developing with the Android SDK version that shipped with the product you have installed.  Newer versions of the SDK can introduce changes that were not tested against.   The following steps will resolve the missing program error if you need to use the newer SDK:

  1. Run the SDK Manager and upgrade the Android SDK Tools to version 23.0.2 and Android SDK Platform-tools to version 20.
  2. 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.

SDK Manager with Build-tools 20.0.0

  1. 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:UsersPublicDocumentsEmbarcaderoStudio14.0PlatformSDKsadt-bundle-windows-x86-20131030sdkbuild-tools20.0.0zipalign.exe.  It will be in a similar location for Appmethod.


What's New for RAD Studio 11

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Related posts
C++DelphiNewsRAD Studio

Desktops Are An Unmatched Productivity Powerhouse


Made With Delphi: This Powerful Load Shedding Schedule App


Made With Delphi: This Brilliant Soccer Strategy Mobile App

C++DelphiNewsRAD Studio

RAD Studio 11 is Coming: New Version Number Announcement and Beta Invite for Update Subscription Customers

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.