INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法

Android studio 安装apk 时报错:Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.


WARNING: Uninstalling will remove the application data!


Do you want to uninstall the existing application?



解决方案:

在Android studio 的build.gradle文件里(model:app):添加Android大括号中的内容即可INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法



添加如下内容:

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


相关文章:

  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2021-12-22
  • 2021-10-30
  • 2021-09-17
  • 2022-01-08
  • 2021-09-25
猜你喜欢
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
  • 2022-01-09
  • 2022-12-23
  • 2021-12-07
  • 2021-11-05
相关资源
相似解决方案