在Google Play上更新使用PWA2APK内置的PWA应用程序时出现问题 [英] Problems when updating PWA app built with PWA2APK on Google Play

查看:107
本文介绍了在Google Play上更新使用PWA2APK内置的PWA应用程序时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用PWA2APK将我的React应用程序的第一个版本上传到Google Play.效果很好.但是每次我尝试通过上传新版本来更新应用程序时,都会得到以下信息:

I have used PWA2APK to upload the first version of my React app to Google Play. It worked great. But every time I try to update the app by uploading a new version, I get the following:

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 uploaded has fingerprint:
SHA1: **********************
Your APK or Android App Bundle needs to have the package name ****(name_of_previous_version)****.
You need to use a different version code for your APK or Android App Bundle because you already have one with version code 1.

这是我一直遵循的步骤:

Here's the steps I've been following:

第一个版本:将网址粘贴到PWA2APK并下载APK文件.使用Google Play中的SHA更改已知目录.将第一个版本的APK上传到Google Play.一切都很好.

For the first version: paste url to PWA2APK and download APK file. change well-know directory with the SHA from Google Play. Upload first version APK to Google Play. All is good.

然后,当我需要发布该应用程序的较新版本时:更改我的所有文件,将url粘贴到PWA2APK.再次更改众所周知的文件(这一次具有新的package_name ).下载APK,然后尝试上传到Google Play.那就是上面的错误显示的时候.

Then, when I need to release a newer version of the app: change all of my files, paste url to PWA2APK. Change well-know file again (which this time has a new package_name). Download APK and try to upload to Google Play. That's when the above error shows.

  1. 我是否遵循正确的程序?
  2. 我是否应该将package_name更改为与以前的版本相同?
  3. 下载的APK文件需要先更改其名称,然后才能上传到Google Play吗?

顺便说一句,Google Play控制台告诉我Google正在管理我的应用签名密钥.

And by the way, The Google Play console tells me that Google is managing my app signing key.

推荐答案

  1. 程序包名称必须与以前的版本完全相同

  1. The package name needs to be exactly the same as the previous versions

您的应用程序需要作为发布应用程序进行签名,并具有用于签名的相同签名证书.

Your app needs to be signed as a release app and and have the same signing certificate used to sign it.

看到您正在使用在线转换器,这可能是问题所在,因为它会为您生成不同的程序包名称和证书.

Seeing that you are using an online converter, this is probably the problem as it is generating you different package names and certificates.

这篇关于在Google Play上更新使用PWA2APK内置的PWA应用程序时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆