android - This release is not compliant with the Google Play 64-bit requirement Google Warning
问题描述
So I am getting below message while uploading an apk. Now for this I have searched alot on this issue came to know that my project contains some native code from third party lib and after apk build I analyze the apk and got to know that there is lib folder and in lib folder only arc 32 bit files are being generated.
So for this I remove those third party libs which were using native development code and added those compatible third party libs which are native code free libs. Now after this I build a release apk and analyze it through apk analyzer Now through analyzer there were no lib folder generated. And then again install the apk on 32-bit and 64-bit arch separately and apk was successfully running.
Now I uploaded the app on google play store but still getting same warning.I have triple checked the apk there is no lib folder and .so file of 32-bit arch. Any help will be appreciated.
Warning
This release is not compliant with the Google Play 64-bit requirement
The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 5.
From August 1, 2019 all releases must be compliant with the Google Play 64-bit requirement.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app. Learn More
Moreover I have also added this myn build gradle file
android {
compileSdkVersion 28
defaultConfig {
ndk.abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
bundle {
abi {
// Specifies that the app bundle should support
// configuration APKs for different arch. These
// resources are instead packaged with each base and
// dynamic feature APK.
enableSplit = true
}
language {
// Specifies that the app bundle should not support
// configuration APKs for language resources. These
// resources are instead packaged with each base and
// dynamic feature APK.
enableSplit = true
}
}
}
解决方案
推荐阅读
- ruby-on-rails - Rails 创建唯一令牌
- android - 如何开始为华为开发移动应用程序
- qliksense - 在 SQL 语句之间的 loadscript 中连接
- vue.js - 从 API 获取 asyncData 时 Nuxt val.replace 不是函数
- jenkins - 用很长的清单杀死/停止詹金斯的工作
- sql - 在最后一个数据点之后的列的下一行中添加 0
- javascript - 如何在 Nodejs VM 中提供源映射
- r - R中网格上的高效蒙特卡罗模拟
- java - 如何使用应用程序在 iOS 应用程序中自动执行长按操作?
- amazon-web-services - 在 AWS CloudFormation 中构造参数