Android Studio Change Project Name / Root Directory Name

Basically you can by changing the project's folder name and reopening it.

It is also recommended to change the name of the project in the Android Studio project structure by editing these files:

  • Change the project name in .idea/.name
  • Rename the [Name].iml file in the project root directory
  • Change the reference to this iml file in .idea\modules.xml
  • Change the rootProject.name in the project root settings.gradle

  1. Close android studio

  2. Change project root directory name

  3. Open android studio

  4. Open the project(not from local history but by browsing to it)

Worked for me @ Studio 2.1.3