是由于使用了native libraries。該native libraries不支持當(dāng)前的cpu的體系結(jié)構(gòu)。
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.
現(xiàn)在安卓模擬器的CPU/ABI一般有三種類型,INTEL X86,ARM,MIPS,
解決辦法:
新建avd的時(shí)候都需要選擇image鏡像,鏡像有x86,arm等,如果沒有,就去virtual device manager里面下。
如果選擇用INTEL X86出現(xiàn)INSTALL_FAILED_NO_MATCHING_ABIS的錯(cuò)誤,那就改用ARM的
參見:http://blog.sina.com.cn/s/blog_3e28c8a50102v7ij.html