Mobile/Fennec/Android/AdvancedTopics: Difference between revisions

Jump to navigation Jump to search
No edit summary
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 to follow some steps to complete your task:
You should remove the signing from the app with the following command, and then re-sign the apk:
   
 
* rename the .apk to .zip
  zip -d this-fennec.apk "META-INF*"
* 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

Navigation menu