mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 14:44:26 +02:00

Issue #526, correctly handles apks where a renamed package is required, by comparing the package name present in AndroidManifest.xml and resources.arsc. If different, we take the package name present in resources.arsc (original) and replace it in the <manifest> tag of AndroidManifest.xml. The previous value in AndroidManifest.xml (renamed) becomes the value to be passed to aapt on rebuild via --rename-manifest-package Both these values along with the package id of the original are stored in apktool.yml, for use during the rebuild