

Now you will see the folder name got change.

just click “ refactor” button if it appears. If your android project have so many activities then it may take few minutes and an extra dialogue may appear on the bottom.In the input box type the name you prefer to have and click “ refactor“.A popup dialogue will appear, click “ Rename Package“.Then go to “ Refactor“, then click on “ Rename“. Select the folder named with what you want to change and right click on it.Now you will see that the folder named with the package name has divided into 3 folders.Click on the settings icon on the top right corner in “ project” tab.So, if you are trying to change your old package name to a new name like: to or something, then this article is for you! Let’s jump inside… Changing/Renaming The Package Name In Android Studioįirst of all, open your project in android studio. A developer may change the package name for different reasons such as he download or purchased a project source code from the web and need to rename it according to his app’s details. Generally, a package is a directory where the source codes are stored. So, it’s really important to follow the correct steps to rename the package name of your android app. Want to change the package name of your existing app or any android projects that you brought/downloaded recently? but getting errors? renaming folder or manifest or gradle will bring errors and thus you won’t be able to compile it.
