Android Studio: Rename Package (Application Id)

Usually, you just need rename Application Id in module:app build.gradle file.

  • By default, the applicationId exactly matches the Java-style package name
  • The applicationId and package name are independent of each other (both does not need to be the same)
  • applicationId is used to identify your app in play store (e.g.
  • applicationId is used to identify your app in Android OS. You can rename the applicationId and compile another APK for installation, and Android OS shall treat it as a different application.
  • Java-style package name only matter to you as a developer.
android {
    defaultConfig {
        applicationId "com.luasoftware.luapass"
        minSdkVersion 16
        targetSdkVersion 28
        multiDexEnabled true
        versionCode 2
        versionName "1.0.1"

If you want to change Java-style package name, refer to this.

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.