REAndroid / APKEditor

Powerful android apk editor - aapt/aapt2 independent
Apache License 2.0
647 stars 95 forks source link

META-INF folder is empty after merge #13

Closed adtimizer closed 1 year ago

adtimizer commented 1 year ago

Hi, after performing merge, in case there are files in the META-INF folder in the main APK and the other (such as config.en.apk,config.armeabi_v7a.apk) has an empty META-INF folder, the result is that the merged apk will have an empty (with folders only) META-INF folder.

REAndroid commented 1 year ago

Hello,

During merging , we modify apk so the orginal signing keys *.SF, *.RSA, MANIFEST.MF are invalid and should be cleared from META-INF but keep other files like META-INF/services/*

Check this commit by @Kirlif

AndnixSH commented 1 year ago

Keeping META-INF is useful to install APK with original signature on a rooted device + disabled signature check using Core Patch module

REAndroid commented 1 year ago

Keeping META-INF is useful to install APK with original signature on a rooted device + disabled signature check using Core Patch module

Hello and warm welcome here 😃, Maybe I should add option to let the user decide to keep signing keys, like -keep-meta

AndnixSH commented 1 year ago

Keeping META-INF is useful to install APK with original signature on a rooted device + disabled signature check using Core Patch module

Hello and warm welcome here 😃, Maybe I should add option to let the user decide to keep signing keys, like -keep-meta

Yes, an option would always be great 👍

REAndroid commented 1 year ago

It is fixed now with this, going to close it