To change the application package in an Android Studio project you need to search in the project path for all references to the package and update them all to the new package.
This includes the R imports, the manifest, and some gradle files I believe.
Clean and rebuild the project.