Change project name on Android Studio Change project name on Android Studio android android

Change project name on Android Studio


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.


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


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!