I have been struggling for a couple of hours on trying to fix this.
To publish my app, i had successfully run steps of the Ionic page, until reaching the “zipalign” step, I run into the error "zipalign:command not found
" while trying to exectute : $ zipalign -v 4 HelloWorld-release-unsigned.apk HelloWorld.apk
I had tried to move the zipaling.exe
file from my user\AppData\Local\Android\sdk\build-tools
to user\AppData\Local\Android\sdk\tools
as indicated in numerous posts here and there, and also updated the build.gradle
file of my app in ionicapp\platforms\android
:
buildTypes {
release {
signingConfig signingConfigs.release
zipAlignEnabled true
}
}
but nothing works, still getting error message.
Any idea pleasseeee anyone?
thanks,