Mobile/Fennec/Android/AdvancedTopics: Difference between revisions

Undo revision 1110518 by Liuche (talk)
(Undo revision 1110518 by Liuche (talk))
Line 495: Line 495:
      
      
   jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 16716 but got 16964 bytes)
   jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 16716 but got 16964 bytes)
 
   
You should remove the signing from the app with the following command, and then re-sign the apk:
You should to follow some steps to complete your task:
 
   
  zip -d this-fennec.apk "META-INF*"
* rename the .apk to .zip
* unzip the file in some folder
* remove the METAINF folder
* zip the remaining files
  * change the name .zip to .apk
* sign again


To verify if everything is alright use the command
To verify if everything is alright use the command
Confirmed users
400

edits