离子/科尔多瓦& Android 64位要求 [英] Ionic/Cordova & Android 64-bit requirement
问题描述
Google 已宣布从2019年8月1日开始,除了32位版本外,所有新应用和应用更新还必须提供64位版本.我有一个Ionic 3(Cordova)应用程序,我不确定这会带来什么影响.具体来说,Ionic/Cordova应用程序需要做什么才能满足此要求?
Google has announced that beginning August 1st, 2019, all new apps and app updates must provide a 64-bit version in addition to a 32-bit version. I have an Ionic 3 (Cordova) app, and I'm not sure what impact this has. What, specifically, does an Ionic/Cordova app need to do to meet this requirement?
从2019年8月1日开始:
Starting August 1, 2019:
所有新应用程序和包含本机代码的应用程序更新都需要 发布时除了提供32位版本外,还提供64位版本 到Google Play.
All new apps and app updates that include native code are required to provide 64-bit versions in addition to 32-bit versions when publishing to Google Play.
推荐答案
它实际上并不依赖于Cordova/Ionic,但取决于您使用的插件.
It doesn't really depend on Cordova/Ionic, but in the plugins you use.
如果您使用的任何插件都有.so库,则它们应提供该库的64位版本. 如果您的插件都没有使用.so库,那么您就很好了.
If any of the plugins you use, has .so libraries, then they should provide a 64 bit version of that library. If none of your plugins use .so libraries, then you are good to go.
如果不确定您的插件是否使用.so库,Google建议您检查apk(将其解压缩或使用APK分析器).如果您有一个lib
文件夹,并且它同时具有armeabi-v7a
和x86
文件夹,请确保每个文件夹中还存在具有相同库的arm64-v8a
和x86_64
文件夹.
If you are not sure if your plugins use .so libraries, Google recommends to check your apk (unzipping it or using APK analyzer). If you have a lib
folder and it has armeabi-v7a
and x86
folders, make sure there is also arm64-v8a
and x86_64
folders with the same libraries in each of them.
有关更多信息: https://developer.android.com/发布/最佳实践/develop/64位
这篇关于离子/科尔多瓦& Android 64位要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!