
For example, a test APK for the build variant Change the application ID for testingīy default, the build tools apply an application ID to yourĪPK using the application ID for the given build variant appended with Otherwise, you might encounter problems as described in issueĢ11768. There's never a need to share your code's true package name outside your appĬonsider using your package name as a prefix in your application For example, the Context.getPackageName() method returns your application ID. Your code's package name, so some Android APIs use the term "package name" in Note: The application ID used to be directly tied to This means that changing the namespace changes theĪpplication ID, which is usually not what you want. If the application ID is not explicitlyĭefined using the applicationId property, it automatically takes on the same Google Play Store treats the subsequent upload as a new app.

The two properties can be a bit confusing, but if you keep them same, you have Keep the application ID the same as the namespace.It is recommended that you do the following when setting the application ID:

YouĬan technically toggle the two properties independently from then on, but it Īutomatically assigned the package name you chose during setup.

Although the application ID looks like a traditional Java or Kotlin package
