Zipalign - Command Not Found - MAC Terminal

On mac zipalign command not found

Add the tools to your PATH, or use the full path to zipalign.

zipalign: command not found

Solved!

  1. I copied zipalign file from my Library/Android/sdk/build-tools/21.1.2 into my Ionic project folder

  2. I add ./ in front of the zipalign command like this - ./zipalign -v 4 /Users/zulhilmizainudin/Desktop/kl-parking/platforms/android/build/outputs/apk/android-release-unsigned.apk android-release.apk

  3. Done. Now I get android-release.apk inside my Ionic project folder.

Thanks to Michael for the solution!

zipalign: command not found - Ubuntu

When a usage message contains an argument in brackets, the brackets mean that that argument is optional and can be left out of the final command; the brackets are not themselves part of the command syntax.

In your case, correct usage might look like:

./zipalign -v 4 intput.apk output.apk 

cannot find zip-align when publishing app

I had the same problem.
And to fix it, I copy the Zipalign file from sdk/build-tools/android-4.4W folder to sdk/tools/

Edited: Since Google updated SDK for Android, new build-tools does fix this problem. So I encouraged everyone to update to Android SDK Build-tools 20 as suggested by Pang in the post below.

Executing Protobuild.exe on Mac command not found issue in terminal

FYI I found out that before you install Mono, you need to create the directory usr/local/bin in order for the terminal to detect the "mono" command.



Related Topics



Leave a reply



Submit