I have recently moved from Windows to Mac. I am now trying to package my ionic app using a mac. I am getting an error when trying to run the following command:
zipalign.exe -v 4 android-armv7-release-unsigned.apk MyApparmv7.apk
Here's the log from the terminal:
Leos-MacBook-Air:apk leoc$ ls
android-armv7-debug.apk jarsigner.exe
android-armv7-release-unsigned.apk my-release-key.keystore
android-x86-debug.apk zipalign.exe
android-x86-release-unsigned.apk
Leos-MacBook-Air:apk leoc$ zipalign.exe -v 4 android-armv7-release-unsigned.apk MyApparmv7.apk
-bash: zipalign.exe: command not found
I found one suggestion to include "./" at the start of the command but I got the same problem. By the way, the zipalign.exe came from my windows machine - not sure if this causes the problem because I was able to run the jarsigner.exe from my windows machine in my mac. I also cannot find the zipalign.exe in my mac after installing Eclipse.