gpt4 book ai didi

reactjs - 在 Google Play 上更新使用 PWA2APK 构建的 PWA 应用程序时出现问题

转载 作者:行者123 更新时间:2023-12-03 10:02:01 29 4
gpt4 key购买 nike

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

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.
这是我一直遵循的步骤:
对于第一个版本 : 将 url 粘贴到 PWA2APK 并下载 APK 文件。使用 Google Play 中的 SHA 更改众所周知的目录。将第一个版本的 APK 上传到 Google Play。一切都很好。
然后,当我需要发布应用程序的更新版本时 : 更改我的所有文件,将 url 粘贴到 PWA2APK。再次更改众所周知的文件(这次有一个新的 package_name)。下载 APK 并尝试上传到 Google Play。那是上面错误显示的时候。
  • 我是否遵循了正确的程序?
  • 我应该将 package_name 更改为与以前的版本相同吗?
  • 下载的 APK 文件上传到 Google Play 之前需要改名吗?

  • 顺便说一下,Google Play 控制台告诉我 Google 正在管理我的应用签名 key 。

    最佳答案

  • 包名需要和之前的版本完全一样
  • 您的应用程序需要作为发布应用程序进行签名,并具有用于对其进行签名的相同签名证书。

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

    关于reactjs - 在 Google Play 上更新使用 PWA2APK 构建的 PWA 应用程序时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65092260/

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