【问题标题】:64-bit Compliant issue Google Playstore while uploading the apk上传 apk 时出现 64 位兼容问题 Google Playstore
【发布时间】:2019-12-13 21:28:32
【问题描述】:

我最近从谷歌播放控制台收到此错误,说明

此版本不符合 Google Play 64 位要求。以下 APKS 可用于 64 位设备,但它们只有 32 位本机代码”。

所以我在 google 支持中找到了解决方案,我正在我的 defaultconfig in build.gradle 中编写这段代码

 defaultConfig {
    applicationId "com.abcdef"
    multiDexEnabled true
    ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64' //This line added
}

注意->我的项目是混合项目而不是原生项目

在构建后分析我的 apk 后,我在 lib 目录中看到两个文件夹,即 x86 和 armeabi-v7a。没有 x86_64 和 arm64-v8a 目录存在

所以我对我构建的 APK 只是 32 位 apk 或将同时支持 32 位和 64 位感到困惑。 它也有 .so 文件。

这只是一个查询,因为从 8 月 1 日起,google play 将不会采用其文档中所述的 64 位合规性应用。

【问题讨论】:

  • 您的问题解决了吗,请分享给我们
  • 在我的项目中没有,我正在使用 IBM Mobile First 工作室,也许是因为这个。我会搜索更多我不确定

标签: android gradle google-play-services 64-bit


【解决方案1】:

android studio 中有分析 APK 的选项。通过此分析,您可以确认您的 APK 支持的架构(32/64 位)。按照下面的链接完成步骤,

https://developer.android.com/distribute/best-practices/develop/64-bit

【讨论】:

  • 我只对该文档感到困惑。我浏览了文档,然后我遇到了这个问题
【解决方案2】:

我正在使用移动优先开发 MFP-STUDIOS-7.1.0,因此通过使用 MFP7.1.0 的最新 ifix 配置项目,我能够使用 MobileFirst Platform Studio 7.1.0.00-20190730-1558 解决此问题

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-12-25
    • 1970-01-01
    • 2019-05-13
    • 2015-07-01
    • 2019-08-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多