开发者

How do I unsign an apk that has had zipalign run on it?

开发者 https://www.devze.com 2023-03-30 11:22 出处:网络
I\'ve created a script that does some final packaging on an APK file, using the output from two different build processes to create a final APK that has the content from one build inserted into the AP

I've created a script that does some final packaging on an APK file, using the output from two different build processes to create a final APK that has the content from one build inserted into the APK from the other build.

If the input APK has been signed, I un-sign it by deleting the META-INF folder in the APK (and then go on to the rest of the script). The problem is that if the input APK was both signed and "zipalign"ed, the output APK has some corrupted files in it, 开发者_高级运维which is bad.

Does "zipalign"ing prevent future changes to the APK?


If nothing else works, you can unzip the APK, delete the META-INF folder, then re-zip the rest.

0

精彩评论

暂无评论...
验证码 换一张
取 消