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

标签 reactjs google-play apk progressive-web-apps android-app-bundle

我已经使用 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/

    相关文章:

    javascript - 在另一个 Action 之后 react Redux 调度 Action

    css - 具有 sass 和控制图像溢出的响应式 flexbox

    reactjs - Material-ui 中的 makeStyles 到底是什么?

    android - 导出项目后在 bin 中找不到 .apk 文件?

    reactjs - 在draft-js NPM 中突出显示单词

    java - 如何配置 Android App Bundles 在 Google Play 上发布 apk (PWA)?

    android - 无法将 APK 文件上传到 Google Play,因为它使用的是受限 API

    java - 为什么?状态 : App not accepted into Wear OS on Google Play

    android - 有关为 Amazon Android App Store 准备 apk 的问题

    android-studio - 在 Android Studio 中禁用了 "Generate signed apk"选项