Change Package Name Quickly
Sometimes, we may need to change the package name of our Android Project. Maybe the package is not suitable or we get a better package name. But that’s doesn’t matter, we just need to change it. So, how we can change a package name? Here are the solution.
- Open your Android Project at Android Studio.
- Go to the
Androidmanifest.xml. - Find your package name. For example
com.aimerneige.test.example. - Click the part you want to change, like
test. - Right click and select
Refactor->Rename. - Select the
Rename package. - Enter a new package name.
- Click the
Refactor,Do Refactor. - Waiting for the operation done.
That’s all. Enjoy it!