[INSTALL_FAILED_NO_MATCHING_ABIS:无法提取本机库,res = -113] [英] [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

查看:126
本文介绍了[INSTALL_FAILED_NO_MATCHING_ABIS:无法提取本机库,res = -113]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在导入到我的项目中的第三方库时遇到问题.

I have an issue with third party libraries that are imported to my project.

我阅读了很多有关此的文章,但没有获得有关如何正确处理它的任何信息.

I read quite a lot of articles about that but do not get any information how properly handle it.

我将课程.so放到文件夹中.

I put my classes .so to the folder.

问题是我尝试运行我收到的应用程序

Problem is that the i try to run the app i receive

[INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

推荐答案

2019年7月25日:

我在 Android Studio 3.0.1 中遇到了此问题:

查看大量帖子后,这里的修复起作用:

After checking lots of posts, here is Fix which works:

转到模块 build.gradle ,并在 Android 块中添加以下脚本:

Go to module build.gradle and within Android block add this script:

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

简单的解决方案.随时发表评论.谢谢.

Simple Solution. Feel free to comment. Thanks.

这篇关于[INSTALL_FAILED_NO_MATCHING_ABIS:无法提取本机库,res = -113]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆