java - 在设备上安装两个类似的 Unity 应用程序时出错

标签 java android unity-game-engine

我写了一个安卓应用。它工作正常(安装和运行),但是当我更改应用程序包标识符、 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/

相关文章:

java - Google App Engine JDO 关系 (Java)

android - 如何在 Android 上使用室内信标实时映射

unity-game-engine - 如何消除 3D 统一运动中的滑动?

iphone - Unity iOS 版本 : app store size 4x ipa size

unity-game-engine - 如何从 MonoDevelop 启动本地 Unity API 引用

java - tomcat SSL请求参数丢失

java - 使用 Apache Http 异步客户端通过多部分 POST 请求上传文件

java - Windows批处理文件: How to redirect console logs of a background process to 'NUL'

java - Intent 和模拟器转换

android - 如何不使用 androidX 破坏 fragment