Usually, you just need rename Application Id in module:app build.gradle file.
- By default, the
applicationIdexactly matches the Java-style package name - The
applicationIdand package name are independent of each other (both does not need to be the same) applicationIdis used to identify your app in play store (e.g.https://play.google.com/store/apps/details?id=com.luasoftware.luapass)applicationIdis used to identify your app in Android OS. You can rename theapplicationIdand 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.