How to Rename the Package Name in Android Studio
When I faced a technical issue in mobile development, I shared the solution with you. So I hope this will help this short article when you change the package name of your android project in Android studio. I saw different solutions. But this solution is the most straightforward way to change the package name without getting any errors. Also, you don’t need to adjust any files manually. When you try uploading your app to the play store, this is the smart way to change the package name.
You can do this in one step. You need to change the application ID. Application ID is the package name when you install the application into the devices. Therefore it’s enough to change the application ID. You don’t need to adjust the manifest or Gradle files manually. Here are the steps you can do. Just follow it!!!
- Right-click on the root folder of your project and Click “Open Module Setting”.
- Go to the Modules tab.
- Change the applicationID to whatever package name you want. Apply and click ok.