Hi! Friends, Today we are going to discuss about How to Change Package Name & App Name of Android Application in Android Studio 1.2.1.1 ( It may be differ in other versions of Android Studio).
Here , we are going to explain step by step with help of screenshot, and also tutorial video is available of it, you can also watch it for better understanding.
how to change package name in android studio youtube Video
How To Change Package Name In Android Studio (Step by Step Demonstration)
Step 1: First of all open your project in Android View. if you don’t know how to open it follow below images for that.

Step 2: After that now click on setting gear icon and deselect Compact Empty Middle Packages

Step 3: Now you will see each package folder is broken into other folders

Step 4: Now right click on the package folder that you want to change, refactor and rename. Now a warning will be displayed but ignore it you go ahead and click Rename Package. After that enter your package name for the package name.

Step 5: Now in the bottom panel of Android Studio it will display ‘Find Refactoring Preview’. Here click on ‘Do Refactor’

Step 6: Now it has change the package name of the App. Now go ahead, change your other folder name according to your requirement
Step 7: Now open build.gradle (Module: app) in Gradle Scripts. Here change the application id and click Sync Now. Finally it’s done and you have successfully changed the App package name in Android Studio

After performing all above steps now you successfully changed package(or folder names) of your application.
How To Change App Name In Android Studio (Step by Step Demonstration)
Now , we are going to see how to change app name in android studio
how to change app name in android
Step 1: First of all open your project in Android View.

Step 2: After that now click on setting gear icon and deselect Compact Empty Middle Packages

Step 3: Now you will see each package folder is broken into other folders

Step 4: Now select that folder that conatains java files(myactivity.java etc) and then right click on it then select refector then rename, Now a warning will be displayed but ignore it you go ahead and click Rename Package and rename it by new app name.

Step 5: Now in the bottom panel of Android Studio it will display ‘Find Refactoring Preview’. Here click on ‘Do Refactor’

Step 6: Now open Manifest.xml file and change Android:label name with new name.(When you click on it , it will appear like ‘@string/app_name’ means that app name is stored in res/values/string.xml file so you have to open it and change value of app-name variable with new app name)

Step 7: Now Rebuild the project for that go in menu then click on Build -> Rebuild project

After performing all above steps now you successfully changed the app name of application.
Thank You!!!
Share with your Friends
Subscribe our youtube channel RKR Knowledge for more programmetic, tech related ,aninteresting topics , computer tips & tricks , smartphone tips & tricks
Thanks
Very nice!! Thank you thank you thank you so much!!!!!