`
ch_kexin
  • 浏览: 881620 次
  • 性别: Icon_minigender_2
  • 来自: 青岛
社区版块
存档分类
最新评论

Android studio 安装apk时报错:INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract nativ

 
阅读更多

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大括号中的内容即可

Android{

splits {

    abi {

        enable true

        reset()

        include 'x86', 'armeabi-v7a','x86_64'

        universalApk true

    }

}

}

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics