在Android模拟器上安装apk的时候出现INSTALL_FAILED_NO_MATCHING_ABIS


在 android{} block:

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

这个错误提示的解决办法。

是由于使用了native libraries 。该native libraries 不支持当前的cpu的体系结构。

INSTALL_FAILED_NO_MATCHING_ABIS is when you are trying to install an app that has native libraries and it doesn't have a native library for your cpu architecture. For example if you compiled an app for armv7 and are trying to install it on an emulator that uses the Intel architecture instead it will not work.

现在安卓模拟器的CPU/ABI一般有三种类型,INTEL X86,ARM,MIPS,

 

如果选择用INTEL X86出现INSTALL_FAILED_NO_MATCHING_ABIS的错误,那就改用ARM的

参考:http://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk

更多相关文章

  1. ERROR: All flavors must now belong to a named flavor dimensi
  2. Android(安卓)录音,加权限还有错误:java.lang.RuntimeException: s
  3. android开发环境类错误
  4. 修改Android(安卓)模拟器imei
  5. 关于Android抛出java.lang.SecurityException: Permission Denia
  6. android 7.0拍照问题file:///storage/emulated/0/photo.jpeg exp
  7. android 加载布局xml文件时报空指针
  8. eclipse中build没有apk输出
  9. android真机上 conn.getOutputStream()异常 Does not support ou

随机推荐

  1. 冷月手撕408之操作系统(9)-进程同步与互
  2. 冷月手撕408之计算机组成原理(1)-导学
  3. 冷月手撕408之操作系统(14)-内存分配之非
  4. 冷月手撕408之操作系统(6)-线程概述
  5. 冷月手撕408之操作系统(5)-进程概述
  6. 冷月手撕408之操作系统(23)-输入输出管理
  7. 冷月手撕408之操作系统(12)-内存的分配与
  8. 冷月手撕408之数据结构(4)-链表
  9. 冷月手撕408之操作系统(21)-文件的实现
  10. 冷月手撕408之操作系统(4)-操作系统的运