Google warns developer to include 64-bit version for Android app

烈酒焚心 提交于 2019-12-07 07:05:26

问题


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

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

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.

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

Questions:

  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?

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


回答1:


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

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

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.



来源:https://stackoverflow.com/questions/56630080/google-warns-developer-to-include-64-bit-version-for-android-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!