Google警告开发人员包括适用于Android应用程序的64位版本 [英] Google warns developer to include 64-bit version for Android app

查看:229
本文介绍了Google警告开发人员包括适用于Android应用程序的64位版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google是警告开发人员,从2019年8月1日开始,所有应用都必须为64位。

Google is warning developers that starting Aug 1, 2019, all apps must be 64-bit.

我使用 Cordova 将我们的网络应用构建为Android应用,并将生成的32位APK文件上传到Google Play商店

I use Cordova to build our web app into an Android app and upload the generated 32-bit APK file into google play store

科尔多瓦人行横道插件允许我同时构建32位和64位版本使用命令 cordova build android --release cordova build android --release --xwalk64bit

The Cordova crosswalk plugin allow me to build both 32-bit and 64-bit versions using the commands cordova build android --release and cordova build android --release --xwalk64bit respectively.

在构建时,两个APK都使用了相同的android版本代码

I used the same android version code for both the APKs when build

问题:


  1. 以前我以前只将32位版本上传到Play商店(生产跟踪)。现在,由于我同时拥有32位和64位版本的APK,我是否应该将这两个APK上传到Play商店中以支持32位和64位手机?

  2. 将32位和64位版本上载到生产版本的过程是什么?关于多个APK的 Google文档,但没有提及32位和64位版本。

  3. Play商店是否会负责将32位APK交付给32位移动设备以及将64位APK交付给64位移动设备?

  1. Earlier I used to upload only the 32-bit version into the play store(Production Track). Right now, Since I have both 32-bit and 64-bit versions of APKs, should I upload both of the APKs into play store to support 32-bit and 64-bit mobiles?
  2. What would be the process to upload both of 32-bit and 64-bit versions into production release? There is Google doc about multiple APKs but there is no mention about 32-bit and 64-bit versions.
  3. Will play store take care of delivering 32-bit APK to 32-bit mobile and 64-bit APK to 64-bit mobile?

注意: 我无法生成 .aab 使用 Android应用程序捆绑包格式,因为 cordova-android 尚未开始支持,并且有一个为此创建的Github问题

Note: I can't generate .aab using Android App Bundle package format since cordova-android is not started supporting yet and there is a Github issue created for that

推荐答案

当同时上传32位和64位版本时,我在Play商店中遇到问题。在构建期间生成版本代码时,crosswalk插件似乎存在问题。 https://stackoverflow.com/a/43570109/2474301

I was facing issue in play store when uploading both 32-bit and 64-bit versions. It seems there an issue with crosswalk plugin while generating version code during the build. The issue is explained here https://stackoverflow.com/a/43570109/2474301

我必须更改插件代码,如StackOverflow链接中解释的答案

I had to make plugin code change as the answer explained in the StackOverflow link

用32位和64位版本进行构建后正确的版本代码,我可以将32位和64位APK上传到Google Play商店。这两个APK均已传送到相应的移动设备上。

After I made both 32-bit and 64-bit builds with proper version code, I'm able to upload both 32-bit and 64-bit APKs into google play store. Both the APKs are delivered to the appropriate mobile.

这篇关于Google警告开发人员包括适用于Android应用程序的64位版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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