开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜