[英]Should you be able to install a digitally signed APK not from the Play Store?
[英]Not able to install signed APK
我在Play商店中有一個應用,
versionCode 19
versionName "19"
現在,我用新的vesrion代碼構建了一個APK
versionCode 20
versionName "20"
並用釋放鍵簽名。
我從設備上的Play商店安裝了實時應用,並嘗試在其上安裝簽名的APK,但顯示如下錯誤,
“App not installed” “The package appears to be corrupt”
有人可以建議我如何解決。
注意:兩個apk都使用相同的發布密鑰簽名,啟動器活動已更改,但現在我將其更新為“相同的舊名稱”,但仍然出現錯誤。
嘗試這個。 在你的表現。
<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>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.