How do you rename packages in the new IDE Android Studio, based on IntelliJ IDEA?
Is there an automatic refactoring included?
I want to make bulk refactorin
Change the Package Name
To rename your package name, all you have to do is go to your AndroidManifest.xml
file, put your mouse cursor in front of the part of the package name you want to change.
Right-Click > Refactor > Rename
In the new window press Rename package
Change name and press Refactor
…and press Do Refactor at the bottom.
Your package name usually is in format com.domain.appname, in this example we changed the appname part, but you can do the same steps for the domain too.
Done! You changed your package name!