zipalign command not found for Android APK publishing

Developing Ionic Apps for Android solely from the command line? Receiving the following error when trying to run the zipalign utility?

-bash: zipalign: command not found

Assuming you're using a unix based OS here's how to fix this...

From the command line, navigate to where your .bash_profile (or similar shell settings) file is located and enter the path to where the zipalign utility exists (this will depend on where you have installed the Android SDK tools on your system).

This .bash_profile entry might, for example, look something like the following:

Categories

Post a comment

All comments are welcome and the rules are simple - be nice and do NOT engage in trolling, spamming, abusiveness or illegal behaviour. If you fail to observe these rules you will be permanently banned from being able to comment.

You might also like...

If you don’t have administrator access to your Mac and need to perform tasks such as installing software then you’ll need to acquire root access. To do this is relatively simple, just follow the steps outlined below and you should be up and running in the space of 3 minutes or less: