是否必须上传 aab(Android App Bundle)而不是 APK 文件

Is it mandatory to upload aab(Android App Bundle) instead of APK file

在最近尝试将现有应用程序的新版本 apk 上传到 PlayStore 时,抛出了如下所述的警告消息

  1. 那么问题来了,是强制只上传aab文件到PlayStore还是普通的apk文件也可以更新。

  2. 如果要上传aab文件,请问如何在上传前对aab文件进行签名。

我为 Goolge App signing 引用了此 。这也需要吗?

注:

开发的应用程序是cordova 应用程序。因此,如果上述内容是强制性的,那么为 cordova 应用程序构建的过程是否不同?

提前致谢!

  1. So the question is, is it mandatory to upload only aab files to PlayStore or normal apk file can also be updated

普通APK也可以上传/更新。这只是警告而不是错误消息。 Google 播放仍然允许您继续

  1. If aab file has to be uploaded, then how to sign the aab file before uploading.

在Android Studio 中,当构建签名的APK/AAB 时,它会要求您导出加密密钥。记下该位置,因为您将在上传 AAB 时使用此导出的密钥。请参阅以黄色突出显示

I referred this Link for Goolge App signing. Is this also required ?

不,它是可选的。引用 Google 播放支持: 使用 Google Play 的应用签名是可选的。您仍然可以上传 APK 并管理您自己的密钥,而不是使用应用程序包。但是,如果您丢失了您的密钥库或它遭到破坏,您将无法更新您的应用程序,除非使用新的包名称发布一个新的应用程序。 https://support.google.com/googleplay/android-developer/answer/7384423

"Important: In the second half of 2021, new apps will be required to publish with the Android App Bundle on Google Play. New apps larger than 150 MB must use either Play Feature Delivery or Play Asset Delivery".

取自

https://developer.android.com/guide/app-bundle