illogical-robot / apkmirror-public

APKMirror.com bugs
http://www.apkmirror.com
112 stars 32 forks source link

[Question] How to patch .apkm file? #222

Closed Tolsi closed 2 years ago

Tolsi commented 2 years ago

Hi I'm trying to modify a .apk file from a .apkm package and when installing via AppMirror I get the error "App installation failed. The package archive file is invalid". I understand correctly that the .apkm file is just a zip archive with apks and metadata? What should I do after modifying and re-signing the .apk file with the application? Should I change SHA1-Digest in APPMIRRO.SF and MANIFEST.MF and what should they be? Can I disable this check somehow in the APKMirror Installer?

Tolsi commented 2 years ago

looks like the base apk signature was invalid