我写了一个安卓应用。它工作正常(安装和运行),但是当我更改应用程序包标识符、 keystore 、应用程序名称和公司名称,然后尝试安装“新应用程序”时,我的设备说该应用程序不能被安装。
但是,如果我删除旧应用程序,则可以安装新应用程序。为什么?
最佳答案
Android 设备只能安装 1 个包 ID。
Every Android app has a unique application ID that looks like a Java package name, such as com.example.myapp. This ID uniquely identifies your app on the device and in Google Play Store. If you want to upload a new version of your app, the application ID (and the certificate you sign it with) must be the same as the original APK—if you change the application ID, Google Play Store treats the APK as a completely different app. So once you publish your app, you should never change the application ID
关于java - 在设备上安装两个类似的 Unity 应用程序时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50967947/