mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-23 10:17:33 +01:00
e254cec648
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