Messing around with an apk
- Renamed to ZIP
- Extracted the contents
- Deleted META-INF folder
- Replaced some music files in res/raw with other files with same name
- Zipped all the contents and renamed to APK
- Resigned APK with https://github.com/kellinwood/zip-signer/
- Installed the APK
Works as expected,the replaced music is played
But I also want to change package name so I modify the above process and added extra step 3B
- Renamed to ZIP
- Extracted the contents
3A. Deleted META-INF folder
3B. Edited the AndroidManifest.xml Changed value of package="com.mypkg"
- Replaced some music files in res/raw with other files with same name
- Zipped all the contents and renamed to APK
- Resigned APK with https://github.com/kellinwood/zip-signer/
- Installed the APK
But the newly signed apk with modified package name isn't recognised as APK by file explorers or package manager
Is is not possible to rename apk package name by this process when we can easily edit raw files?