y0nd0 edited a comment on issue #1077:
URL: 
https://github.com/apache/cordova-android/issues/1077#issuecomment-698662066


   Cordova can sign the apk? That would be new to me. I sign my app with 
`jarsigner`. But also tried the `apksigner`. Note: You also have to use 
`zipalign`. And depending on what you use it works in different order. 
   
   If you use jarsigner, you use zipalign AFTER the signing. With apksigner, 
you have to do this BEFORE signing. [See 
docs](https://developer.android.com/studio/command-line/apksigner). And in my 
case there is an issue with the APK and zipalign. You have to execute zipalign 
twice, if you get the error "validation failed". This may fix it. But anyway, 
in my case `jarsigner` works great. But since a few days I get an error "failed 
to extract native libraries". Like in the following issue descriped. #1076 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to