Android项目无法运行在x86的虚拟机上

解决办法来自

https://blog.csdn.net/qq_33495943/article/details/70255942

运行程序的时候报错如下

Device supports x86, but APK only supports armeabi.

解决办法

直接在 Module 中 Gradle 文件中,知道类型以下的指定平台的代码注释掉即可。

defaultConfig {
    //....
    ndk {
        //设置支持的SO库架构
        //abiFilters 'armeabi' //, 'arm64-v7a', 'x86' , 'x86_64','arm64-v8a',
    }
}

相关文章:

  • 2021-10-04
  • 2021-10-10
  • 2021-12-30
  • 2022-12-23
  • 2021-09-14
  • 2021-12-25
  • 2022-12-23
  • 2021-07-29
猜你喜欢
  • 2022-12-23
  • 2021-12-29
  • 2021-11-21
  • 2021-08-20
  • 2021-09-03
  • 2021-04-16
  • 2021-12-25
相关资源
相似解决方案