Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Faile

Android Studio 运行虚拟机报错:

添加如下代码无效:

ndk {
    abiFilters "armeabi" ,"x86"
}

运行虚拟机报错:

Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Faile_第1张图片


解决办法:

在同个gradle页面,android{}中添加:

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


参考网址:http://blog.csdn.net/sinat_31302603/article/details/54892890

你可能感兴趣的:(Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Faile)