Option to rename only applicationId while keeping package name. #3163
MikuAuahDark
started this conversation in
Ideas
Replies: 1 comment
-
Seems like a sane request. Added label. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
In newer Android, "package name" and "applicationId" are no longer interchangeable. However in APKTool 2.7.0, changing the
package
in AndroidManifest.xml (or specifyingrenameManifestPackage
inapktool.yml
) changes both, and without proper checking through the smali files, will result in app fails to launch because it looks for wrongR
classes.Describe the solution you'd like
Option in
apktool.yml
to specify the newapplicationId
or command-line option to override theapplicationId
. This will keep "package name" intact but changes theapplicationId
alone.Additional context
https://developer.android.com/studio/build/configure-app-module
Quick look at AAPT2, it seems possible with
--rename-resources-package
.Beta Was this translation helpful? Give feedback.
All reactions