This is the AMP version of this page.
If you want to load the real page instead, click this text.

Help! change package name

Keahi

1/3 Games Approved
Hello.

I intend to change a package name, maybe change icon, from VLC, and keep other things as is.

Examples: Instead of left the usual orange icon, make it purple.
change package to not conflict with settings that I used into official app.

I did try using LuckyPatcher, which seems worked, but when it comes into installation, bollocks all the way.


Thanks in advance.
 
You should start by extracting the APK file using a tool like APKTool. This will decompile the APK into a folder where you can access its resources and code. Inside the decompiled folder, locate the AndroidManifest.xml file and change the package attribute to your desired package name, such as com.example.vlcmod. Search for all occurrences of the old package name within the smali directory and replace them.

To modify the icon, go to the res/drawable-* directories, where you’ll find files like ic_launcher.png. Replace these files with your custom icon, ensuring that the dimensions and file names remain the same. Once these changes are made, recompile the APK using APKTool to generate a new APK file.

Before installing, the APK must be signed. If the app crashes, double-check the edits made in the AndroidManifest.xml and smali files to make sure that all references to the old package name were updated correctly.