cannot.find.zip.align=The zipalign tool was not found in the SDK.
Please update to the latest SDK and re-export your application
or run zipalign manually.
Aligning
I fixed it by installing Android SDK Build-tools 20:
In Eclipse → Pull Down Menu → Window → Android SDK Manager, check Android SDK Build-tools Rev. 20, then click the Install n package(s)… button to start installing.
It becomes usable if you install
Android SDK Build-tools Rev.20
With the SDK update to 20, version 20 of the build and platform tools and 23 of the sdk tolls, Google has moved a lot of things.
Gradle (if you are using Android Studio) however has not yet been updated to reflect those changes, as stated in other Answers copying the zipalign
binary to /sdk/tools/
should do the trick for now.
UPDATE: since Android Studio 0.8.1 got released the issue seems fixed now…
you only need to update your build.gradle
and it should work fine again
compileSdkVersion 20
buildToolsVersion "20.0.0"
targetSdkVersion 20
and if you use any compat or support library
compile 'com.android.support:appcompat-v7:20.+'
compile 'com.android.support:support-v4:20.+'
My fix worked copying zipalign.exe from sdk\build-tools\android-4.4W to sdk\platform-tools, as shown in video linked by digiboomz, and did not work copying it in sdk\tools
On a mac with OSX 10.10.5,Android Studio and SDK installed the path is
/Users/mles/Library/Android/sdk/build-tools/23.0.1/zipalign
In my case SDK Build Tools 20 were already installed. I copied zipalign.exe in Tools folder but without success.
After that I noticed that I updated Eclipse without removing or renaming the old folder.
So I did:
1) Renamed old Eclipse folder 2) Restarted Eclipse
Eclipse asked to correct Android preferences because problem was Eclipse, that was still trying to use the old folder