I want to change the package name of my Android project using Android Studio from let's say, com.company.myapp
to com.name.company.myapp
. While there are many questions and answers that deal with renaming a part of existing package name but I couldn't find any help on how to add a new part to it.
Please help me in this regard.
Thanks
(which is now independent of the package name) can be done very easily in one step. You don't have to touch AndroidManifest. Instead do the following:
1. Right click on the root folder of your project.
2. Click "Open Module Setting".
3. Go to the Default tab.
4. Change the applicationID to whatever package name you want. Press OK.
P.S. if you're using google-services.json , make sure you update new ID there too.
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