Reputation:
There are already questions on this but I would like to learn current preffered / best approach for changing the package name in Android Studio. I don't want to mess things up trying to change it. I am using Android Studio version 1.5
Upvotes: 2
Views: 2734
Reputation: 2795
To rename the package name in Android studio,
Click on the setting icon in the project section and untick the Compact empty Middle Packages,
after that the package will split into multiple folder names,
then right click on the folder you need to change the name, click on refactor-> Rename-> Type the name you want to change in -> Do refactor -> Refactor Directory Working for me
Upvotes: 6