I want to change my apk name in the project workspace. How to do it by editing the AndroidManifest.xml file?
Navigate to the folder in which your apk is present. In that folder select your APK file. Right-click on it and click on rename option to rename your APK file.
To edit the apk, open explorer and navigate to the folder apktool is unzipped to, and open the folder with the name of your apk. Inside you'll find a bunch of folders and a file called AndroidManifest. xml. If you want to edit the icon, open res -> drawable.
I would recommend unpacking the apk with apktool, and then edit the apktool. yml, setting renameManifestPackage to the new package name. Then when you rebuild the apk with apktool, it should use aapt's --rename-manifest-package functionality to change the package name.
In manifest file, you can change the application label only. If you want to change the apk file name, you should change your project name. To do this, you just right click on your project in Navigator windows, choose Refactor>Rename and type a new name for it.
android update project --name your_desired_name --path .
This changes the ANT project name in build.xml.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With