use*_*ser 3 android panoramas google-play-services
我正在使用此实现:'com.google.vr:sdk-panowidget:1.160.0'为了显示360图像,但出现以下错误;在将应用上传到商店时:
Error
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: 130.
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. Learn More
Run Code Online (Sandbox Code Playgroud)
注意:该库未创建lib / x86_64.so文件。
请帮忙!
Bru*_*ras 11
我的应用程序也遇到了同样的问题,这对我有用。
我正在使用AAB格式上传应用程序,而我的build.gradle具有以下体系结构目标:“ armeabi-v7a”,“ arm64-v8a,“ x86”,“ x86_64”。但是在构建项目后,“ x86_64”文件夹不是在AAB内创建的,所以我决定删除“ x86”和“ x86_64”,现在我的build.graddle看起来像这样
defaultConfig {
...
ndk {
abiFilters "armeabi-v7a", "arm64-v8a"
}
...
}
splits {
abi {
...
include "armeabi-v7a", "arm64-v8a"
}
}
applicationVariants.all { variant ->
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "arm64-v8a":2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
}
}
}
Run Code Online (Sandbox Code Playgroud)
这使我可以在Google Playstore中发布任何问题。希望能帮助到你!
| 归档时间: |
|
| 查看次数: |
6436 次 |
| 最近记录: |