Skip to content
Related Articles

Related Articles

Different Ways to Change the Project Name in Android Studio
  • Difficulty Level : Hard
  • Last Updated : 07 Mar, 2021

When you have worked a lot on an Android project and then if you need to rename the project there are lots of configuration files, .xml files, and gradle files in Android Studio that you’re afraid to break things up. Sometimes we end up creating a new Android Studio project, with the correct name and then pass the source files from the old project to the new one. Here we are changing the project name only. While changing the name make sure that the project name is written without spaces. Now the point that comes here is how we can Change Project Name in Android Studio. So in this article, we are going to discuss five different methods to change the Project Name in Android Studio.

Method 1

Step 1: Click on the Setting Icon and Uncheck Compact Middle Packages

Step 2: Click on your Project Name and Go to Refractor > Rename 

Step 3: Click on Rename Packages

Step 4: Change the package name and click on Refractor

Step 5: Click on Do Refractor and then you will fill in finding that the project name is changed

Method 2

Open app/build.gradle and change this line:

android {

  defaultConfig {

      applicationId “com.example.yournewprojectname”



Method 3

Update app/src/main/res/values/strings.xml:

<string name=”app_name”>New Project Name</string>

Doing this name of your app will be changed.

Method 4

Open settings.gradle and change this line: = “New Project Name”

Method 5

Open app/src/main/AndroidManifest.xml and change the following line:

<manifest xmlns:android=””


Want a more fast-paced & competitive environment to learn the fundamentals of Android?
Click here to head to a guide uniquely curated by our experts with the aim to make you industry ready in no time!
My Personal Notes arrow_drop_up
Recommended Articles
Page :