gpt4 book ai didi

android - Unity Android-针对x86_64体系结构的Cant Build

转载 作者:行者123 更新时间:2023-12-03 05:34:02 33 4
gpt4 key购买 nike

我试图获得64位版本以符合Google Play的要求,但是每当我“分析” Android Studio“x86_64”中的apk时,似乎都没有在“lib”文件夹下显示为依赖项。

我尝试过的一些细节/事情:

  • 带gradle 3.2.0的Unity 2018.4.2f1
  • 我将“IL2CPP”用作脚本后端,并选择了ARM64的
  • 在我的maintemplate.gradle的“defaultConfig”中,我已使用ndk { abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64" }
  • 手动指定了不同的体系结构

    最佳答案

    根据x64集成文档,

    If you see armeabi-v7a or x86, then you have 32-bit libraries. If you do not have any arm64-v8a or x86_64 libraries, you'll need to update your build process https://developer.android.com/distribute/best-practices/develop/64-bit



    Unity3d博客:

    While we added support for Android ARM 64-bit, we also reviewed the usage of Android x86. Limited x86 Android devices were introduced to the market which has resulted in minimal adoption of Unity’s x86 Android support. Android x86 support will be deprecated in 2019.2 and removed entirely in Unity 2019.3. Support for Android x86 will continue in Unity 2018 and 2018 LTS for the remainder of their life cycle. https://blogs.unity3d.com/ru/2019/03/05/android-support-update-64-bit-and-app-bundles-backported-to-2017-4-lts/



    还要检查此主题: https://answers.unity.com/questions/1630396/unity-build-for-android-x86-64.html

    关于android - Unity Android-针对x86_64体系结构的Cant Build,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57605724/

    33 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com