This should work:
Right click on the package name -> Refactor -> Rename or (shift + alt + r
) or (F2
) after selecting package.
Decide which one you want to rename and it should, hopefully, update for the entire project.
Make sure to do a backup first :)
Edit:
It can easily be done with java files, but do not know if AIDL
files package name can be changed automatically, I did that manually. Ankit