Many beginners of Android Studio suspect that "how to change package name in Android Studio App"? 

How to Change Package Name In Android Studio App?

You can easily replace it with Android Studio. These steps are: You can easily change it from Android Studio.

Follow this step to rename the package in Android Studio App

Renaming the package in Android Studio is very simple. I will show you some steps to change the package name. Follow these steps to change the package name to Android Studio APK.

😊let's begin

Step 1

In your project panel, click on the small gear icon


Step 2

Uncheck the compact empty middle package option

How to Change Package Name in Android Studio App?



Step 3

Your package directory will now be split into separate directories


Step 4

Individually select each directory you want to rename, and:

  1. Right-click it
  2. Select reflector
  3. Click rename

How to Change Package Name in Android Studio App?


Step 5

In the pop-up dialog, click Rename Package instead of Rename Directory

Enter new name and hit Refactor

Click on Do Refactor below

Step 6

Allow Android Studio one minute to update all changes

Note: When renaming com in Android Studio, it can warn. In such case, select rename all

Step 7

Now open your grad build file (build.gradle - usually app or mobile). Update the applicationId to your new package name and default grad to the sync grad, if it is already automatically updated:

How to Change Package Name in Android Studio App?


Step 8

You may need to change the package = attribute in your manifest

Step 9

How to Change Package Name in Android Studio App? Clean and rebuild.


Clean and rebuild.✅✅

Step 10

congratulation! Anyway, Android Studio needs to simplify this process a bit.

How can I change the package name in Android Studio App? is resolved

Comment in case of any problem

Post a Comment

Previous Post Next Post