【问题标题】:install_failed_no_matching_abis failed to extract native libraries res=-113 after updating to android 8.0 oreoinstall_failed_no_matching_abis 更新到 android 8.0 oreo 后无法提取原生库 res=-113
【发布时间】:2018-09-19 19:39:51
【问题描述】:

我的应用有问题。我使用三星 s8 并且我的应用程序运行良好,直到我更新到 android oreo。我卸载了我的应用程序并尝试再次运行,但出现错误 install_failed_no_matching_abis failed to extract native libraries res=-113 。我的应用程序在其他设备上仍然可以正常运行。我读了这些帖子: Error INSTALL_FAILED_NO_MATCHING_ABIS after updating Nexus 5x to Oreo INSTALL_FAILED_NO_MATCHING_ABIS error on Android 8 [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

但似乎没有什么对我有用。我不知道是否必须删除一些库,提到的库在我的应用程序中不存在,或者我是否必须添加一些东西。我也尝试添加

splits {
    abi {
        enable true
        reset()
        include 'x86', 'armeabi-v7a'
        universalApk true
    }
}

在我的 gradle 中,但它也不起作用。

【问题讨论】:

    标签: android


    【解决方案1】:

    如果你只有 32 位库,请尝试使用

    android {
        defaultConfig {
    
            ...
    
            ndk {
                abiFilters "armeabi-v7a", "x86"
            }
        }
    

    请注意,自 2019 年 8 月起,必须包含 64 位库(“arm64-v8a”)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-06-13
      • 2018-11-07
      • 2020-08-04
      • 2020-03-19
      • 2018-09-11
      • 2016-07-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多