To rename a package in an Android app is a bit more involved than it probably should be. I found the answer on Stackoverflow and this is just a recap
- In the project pane uncheck
Compact Empty Middle Packages - Right click each folder that should be renamed and choose
Refactor->Rename - Open the app
build.gradlefile and changeapplicationIdto new package name and sync the gradle files - Open
AndroidManifest.xmland change thepackageproperty to the new name. - If you are using firebase, change the
package_nameingoogle-services.json - Clean and rebuild project