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

  1. Change the name in manifest file. android:label="@string/app_name"
  2. 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

Share:
22,058
duk3r
Author by

duk3r

Updated on June 04, 2020

Comments

  • duk3r
    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?

    project name

  • duk3r
    duk3r over 9 years
    Thanx a lot! That did the trick! Now everywhere the new name is shown.
  • Servus7
    Servus7 about 9 years
    You need to restart AndroidStudio ... ;)
  • Jay Donga
    Jay Donga about 8 years
    Even after restarting Android Studio, it didn't worked for me. I'm using Studio 2.0
  • Songlin
    Songlin over 7 years
    Dont work on mac, Android studio 2.22 , I dont even have the file .idea/.name