问题
I am using GoogleVR
library to load panos in my app.
Google VR Depencencies
implementation 'com.google.vr:sdk-base:1.160.0'
implementation 'com.google.vr:sdk-panowidget:1.170.0'
and getting following .so
files in my apk
Now i am unable to upload a new apk on playstore, and getting following error message.
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.
I also tried adding following line in gradle file, but nothing changed.
ndk {
abiFilters 'x86', 'armeabi-v7a', 'armeabi'
}
回答1:
I find a "solution" for this issue. (Waiting to google fix this and provide a x64 support libs, not definitive)
Practically all mobiles use a ARM process, so this solution may not works in devices with x64 architecture, i not test
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)
Obviously this is not a definitive solution so is the best that i found to google allow me to publish app
回答2:
ndk {
abiFilters 'x86', 'armeabi-v7a', 'armeabi'
}
You can try with remove abiFilters code.
来源:https://stackoverflow.com/questions/57587816/googlevr-library-not-supporting-64-bit-requirement-from-playstore