GoogleVR库不支持Playstore的64位要求 [英] GoogleVR library not supporting 64-bit requirement from playstore

查看:154
本文介绍了GoogleVR库不支持Playstore的64位要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GoogleVR库在我的应用程序中加载全景图.

I am using GoogleVR library to load panos in my app.

Google VR依赖

  implementation 'com.google.vr:sdk-base:1.160.0'
  implementation 'com.google.vr:sdk-panowidget:1.170.0'

并在我的apk中获取以下.so个文件

and getting following .so files in my apk

现在我无法在Playstore上载新的APK,并收到以下错误消息.

Now i am unable to upload a new apk on playstore, and getting following error message.

此版本不符合Google Play 64位要求. 以下APK或应用捆绑包可用于64位设备,但 他们只有32位本机代码:30.

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: 30.

我还尝试在gradle文件中添加以下行,但没有任何变化.

I also tried adding following line in gradle file, but nothing changed.

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

推荐答案

我找到了此问题的解决方案". (等待Google修复此问题,并提供x64支持库,而不是权威的库)

I find a "solution" for this issue. (Waiting to google fix this and provide a x64 support libs, not definitive)

实际上所有移动设备都使用ARM进程,因此该解决方案可能无法在具有x64架构的设备上运行,我无法测试

Practically all mobiles use a ARM process, so this solution may not works in devices with x64 architecture, i not test

基本上,对于Google来说,您可以通过在本机libs文件夹中创建一个x86_64文件夹(我们必须在我们的项目中找到本机libs所在的位置)并复制32位.so文件(在x86文件夹中)

Basically to google let you to publish we create a x86_64 folder in the native libs folder(we have to find where is the native libs on our project) and copy the 32 bit .so files (in x86 folder)

显然,这不是一个确定的解决方案,所以我在Google上找到的最好的解决方案是让我发布应用程序

Obviously this is not a definitive solution so is the best that i found to google allow me to publish app

这篇关于GoogleVR库不支持Playstore的64位要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆