此版本不符合 Google Play 64 位要求 (Apple Music Kit)

问题描述

我在我的 android 应用程序中使用 Apple Music Kit,在将签名的 APK 上传到 google play 商店时,它给了我一个错误:

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: [2]
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 that it needs. This avoids increasing the overall size of your app

我使用了 APK 分析器,我发现 X86,X86_64,and arm64-v8a 中不存在 Apple Music Kit 库,而它仅存在于 armeabi-v7a 中。如图所示:

enter image description here

我检查了 Apple 音乐 SDK 套件,他们没有为 64 位提供任何单独的 SDK,这里是 Apple music SDK 的链接

如何将此库添加到 64 位?

我已将 ndk 添加到 gradle 文件中的 defaultConfig:

ndk {
      abiFilters 'armeabi-v7a','x86','armeabi','mips','x86_64'
 }

我也试过这个,但仍然面临同样的问题:

ndk {
            abiFilters 'armeabi-v7a','mips'
        }

我为发布版本添加了这两个内衬:

 minifyEnabled true
 shrinkResources true

我该如何解决这个问题?没有这个 google 将不允许我发布 APK。我们可以只上传 32 位版本吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...