一、错误描述
在Github下载了一份代码,在本地运行看看效果,直接运行失败,如下所示:
错误描述如下所示:
The currently selected variant "debug" uses split APKs,
but none of the 1 split apks are compatible with the current device with ABIs "armeabi-v7a, armeabi".
翻译过来就是:
当前选择的变体“debug
”使用拆分APK
,但1个拆分APK中没有一个与当前具有ABI
“armeabi-v7a,armeabi
”的设备兼容。
二、解决方法
-
我的设备只支持
armeabi-v7a
或者armeabi
-
代码中ndk选项只配置了
arm64-v8a
-
因为项目
有armeabi-v7a