Android模拟器运行提示:

Installation failed with message 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 Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native l

解决办法:

build.gradle文件android配置中添加以下代码:

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

如下图所示:

Android Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native l

注意:有两个build.gradle文件,在下面那个文件中添加以上代码。

相关文章:

  • 2021-12-08
  • 2021-09-05
  • 2022-01-18
  • 2021-11-07
  • 2021-08-31
  • 2021-07-19
猜你喜欢
  • 2021-04-15
  • 2021-06-28
  • 2021-11-05
  • 2022-12-23
  • 2021-11-29
  • 2021-08-06
  • 2022-01-07
相关资源
相似解决方案