gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-29 23:49:58 25 4
gpt4 key购买 nike

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

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com