Use the renamer program to change an app name, a package name and an icon in an Android app.
Requirement - JRE 1.8 (64-bit)
java -jar renamer.jar [-a] <path/to/app.apk> [-o] <path/to/renamed.apk> [-n] <new_name> [-p] <new.package.name> [-i] <new_icon.png>
You can place app.apk to "in" folder, new_icon.png to "icon" folder
and run java -jar renamer.jar
without arguments. Your renamed_app.apk will be placed in "out" folder
Optionally you can add the [-d]
flag to perform a "deep renaming".
This will search for instances of the old package name in all files and replace them with the new package name.
If you rename an app with the deep renaming you can install the renamed app along with the original app on your device.
Note that the deep renaming may cause unintended side effects, such as breaking app functionality.
Optionally you can add the [-t]
flag and the program extract all apk resources at "temp" folder where you can modify it as you want.
After you made the changes you can resume program flow, and it builds and signs the renamed apk
Optionally you can add the [-m]
flag and the program will not modify the resources of the apk.
It extracts the apk resources to "temp" folder where you can modify what you want manually.
The program will not rename anything. After you made changes resume the program, and it builds and signs the package.
Optionally, you can pass arguments to Apktool.
To implement arguments when Apktool decodes the apk, add the following flag: -da "-option1 -option2"
. For example, -da "--keep-broken-res"
. The string with arguments for Apktool should be enclosed in quotation marks.
To implement arguments when Apktool builds the apk, add the following flag: -ba "-option1 -option2"
. For example, -ba "--use-aapt2"
. The string with arguments for Apktool should be enclosed in quotation marks.
You can find a list of Apktool's arguments on its official site.
Optionally add the [-r] <path/to/dictionary.txt>
flag and the program will replace text in APK files using a dictionary.
Dictionary file format:
original text:replacement text
another original text:another replacement text
The splitter is ":" symbol. . If you need to include this symbol in the replacement text, you can escape it using "/:".
- You may not use ApkRenamer for any illegal purposes;
- The repacked APKs should not violate the original licenses.
If you have any question email me dvaoru@gmail.com