gpt4 book ai didi

android - 无法安装签名的APK

转载 作者:行者123 更新时间:2023-12-03 05:56:03 25 4
gpt4 key购买 nike

我在Play商店中有一个应用,

versionCode 19
versionName "19"

现在,我用新的vesrion代码构建了一个APK
versionCode 20
versionName "20"

并用释放键签名。

我从设备上的Play商店安装了实时应用,并尝试在其上安装签名的APK,但显示如下错误,
“App not installed”
“The package appears to be corrupt”

有人可以建议我如何解决。

Note: Both apks are signed with same release key, There was change in Launcher Activity but now I updated that to Same Old name but still the error appears.

最佳答案

试试这个。
在你的表现。

     <activity android:name="your new Launcher Activity" />

<activity-alias
android:name="your old Launcher Activity"
android:targetActivity="your new Launcher Activity">

<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>


</activity-alias>

关于android - 无法安装签名的APK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44881759/

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