Change Package Name
Last updated
Last updated
Open Gradle Scripts → build.gradle (Module: app)
Change the application ID with your own id name
Standard naming procedure : com.yourdomainname.yourappname
Click Sync Now.
Change the id as unique as possible, because application id is very important used if you want to publish the application to the google play.
Important : your applicationId or package name must same with your package name that you’ve create on firebase console when you generate google-services.json
Click once on your package and then click setting icon on Android Studio.
Close / Unselect Compact Empty Middle Packages
Right click your package and rename it.
If you use OneSignal for sending push notification, you must manually change the NotificationServiceExtension value in the AndroidManifest.xml according to your package name