我已经在Playstore上为我的应用程序上传了多个APK,以便在所有设备上支持它。
现在的问题是,当我使用下面的代码获取我的Playstore版本时,它会返回"Varies with device“。
String playStoreUrl = "“+ mContext.getPackageName();
//It retrieves the latest version by scraping the content of current version from play store at runtime
Document
我想上传到Playstore,我的应用程序,将取代一个旧的版本,我没有加载我在过去。当我试图上传我的应用程序时,我有以下错误:
You uploaded an APK that is signed with a certificate other than that
of your previous APK. You must use the same certificate.
The APK existing certificates are signed by these fingerprint:
[SHA1: .... ]
The certificates used to sign
我有下面的快车道
desc "Assemble Build, Test Application, and Run On Device"
lane :assemble do
assemble_build
tests
end
desc "Assemble Build"
lane :assemble_build do |options|
gradle(task: "assemble", build_type: @build_type)
end
desc "Run tests in Firebase Test Lab"
在分支内部测试中,我成功地将apk上传到了play商店,突然,它开始拒绝我的新apk,因为这个错误:
You need to use a different version code for your APK or Android App Bundle because you already have one with version code 1.
这是expo用于生成清单的app.json:
{
"android": {
"package": "com.myapp.www",
"version
我已经使用PWA2APK上传我的反应应用程序的第一个版本到Google。效果很好。但是,每次我试图通过上传一个新版本来更新这个应用程序时,我会得到以下信息:
You uploaded an APK that is not signed with the upload certificate. You must use the same certificate. The upload certificate has fingerprint:
SHA1: *******************
and the certificate used to sign the APK you uploade