Change project name on Android Studio

Solution 1:

This did the trick for me:

  • Close Android Studio
  • Change project root directory name
  • Open Android Studio
  • Open the project (not from local history but by browsing to it)
  • Clean project

If your settings.gradle contains the below line, either delete it or update it to the new name.

rootProject.name = 'Your project name'

Edit:
Working in all versions! Last test: Android 4.2.1 Jun 2021.

Solution 2:

You can change the name that is shown in the title bar in the file ".idea/.name".

Solution 3:

Update: This is an out-dated response from 2013 and only works for v2.2.2 and below.


  1. Right-click on your root project directory

  2. Select Refactor -> Rename

  3. Select rename project and change the name there.

  4. Also Select rename module and change it there as well. If you get an message saying module name already changed thats fine.

  5. Now right-click on the project root folder again and select Open Module Settings.

  6. Under the Modules section remove whatever folders are associated to your old project name.

  7. Apply Settings and hit OK.

  8. Restart Android Studio.

Hope that helps!

Solution 4:

update July/2017: tested and worked


  1. Open project folder (you could open it through Android Studio itself see this )
  2. now close Android Studio
  3. change the yourOldProjectName.iml to the a new name
  4. rename the parent folder to the same new name.
  5. re-open Android Studio --> File --> Open--> path to your renamed.im