Reputation:
I know there are questions and answers about this on StackOverflow but none of them tell about the complete rename prosses.
I want to rename every part of the application includes Module name, Package name, App name, and other parts that I don't know because I am a beginner.
Are there more parts after Module name, Package name, and App name to rename...?
I successfully renamed Package and App name but failed with Module name.
Upvotes: 1
Views: 2625
Reputation: 8239
step 1.
Go to the manifest file change package name
step 2.
Go to the Build.gradle(Module:app) -> chnage applicationId and sync project
step 3.
Refactor folder's name as per package name
hope it will helps :D
Upvotes: 1
Reputation: 811
Even though you have refactored your package name you have to change the package name manually in your app level build.gradle file.
defaultConfig {
applicationId "com.app.package" // change according to your new package name
}
Upvotes: 0
Reputation: 1066
To change package name correctly follow this answer -
Rename package in Android Studio
and to rename Application name update "app_name" in string.xml file in resources -
<string name="app_name">
New Name
</string>
Upvotes: 0