Shekh Shagar
Shekh Shagar

Reputation: 1355

How to zipalign a signed android apk?

I am using android studio / Intellij Idea.

Each time I try to create the signed apk it says

cannot.find.zip.align = The zipalign tools was not found.

Please update the latest SDK and re-export your application or run zipalign manually.

.enter image description here

then I updated my My SDK manager. Still it's giving me the same message. At this point I'm totally stuck.

Need a proper solution to zipalign my APK.

Upvotes: 3

Views: 3668

Answers (2)

userM1433372
userM1433372

Reputation: 5497

There is no need to dowmload a new sdk. Simply copy the zipalign file from the latest buildtools directory to sdk/tools

So copy sdk/build-tools/20.0.0/zipalign to sdk/tools

Upvotes: 3

Treesouth
Treesouth

Reputation: 319

Download sdk-Android4.4W. Just copy the Zipalign file from sdk/build-tools/android-4.4W folder to sdk/tools/

Upvotes: 5

Related Questions