How to change name of project in Android Studio
22,058
Solution 1
Try changing the contents of this file: C:\Path\To\Project\.idea\.name
Solution 2
- Change the name in manifest file.
android:label="@string/app_name"
- There's a build.gradle file inside your app folder. Change the package name from there. Make sure you edit the build.gradle file inside your app folder, not the one in the root of your project.
Solution 3
You can try something like this in your settings.gradle
file:
rootProject.name = "YOUR_PROJECT_NAME"
After restarting of Android Studio it will also change text in title bar to YOUR_PROJECT_NAME
.
Tested on Android Studio 2.2 RC2
Solution 4
When you want to change only the name of the application to enter src->main->res->values->strings.xml and change the name to the new
Author by
duk3r
Updated on June 04, 2020Comments
-
duk3r almost 4 years
Imported an eclipse project into Android Studio and saved it in a new folder. Changed the package name and everything to new names but the Project's name is still the one from the old project.
How do I change the pointed name into something else?
-
duk3r over 9 yearsThanx a lot! That did the trick! Now everywhere the new name is shown.
-
Servus7 about 9 yearsYou need to restart AndroidStudio ... ;)
-
Jay Donga about 8 yearsEven after restarting Android Studio, it didn't worked for me. I'm using Studio 2.0
-
Songlin over 7 yearsDont work on mac, Android studio 2.22 , I dont even have the file .idea/.name