The currently selected variant "arm-debug" uses split APKs, but none of the 1 split apks a
Posted 北京刘星
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The currently selected variant "arm-debug" uses split APKs, but none of the 1 split apks a相关的知识,希望对你有一定的参考价值。
出现这种错误一般是在电脑上用模拟器运行APK的吧.
可以在build.gradle中这样配置下:
android{
...
defaultConfig {
applicationId "XXXXXXX"
minSdkVersion 11
targetSdkVersion 21
versionCode 126
versionName "1.2.6"
ndk {
//设置支持的SO库架构
abiFilters ‘armeabi‘ //, ‘x86‘, ‘armeabi-v7a‘, ‘x86_64‘, ‘arm64-v8a‘
moduleName "app"
}
....
splits {
abi { enable true
reset()
include ‘x86‘, ‘armeabi-v7a‘, ‘mips‘
universalApk true
}
}
}
android{ ... defaultConfig { applicationId "XXXXXXX" minSdkVersion 11 targetSdkVersion 21 versionCode 126 versionName "1.2.6" ndk { //设置支持的SO库架构 abiFilters ‘armeabi‘ //, ‘x86‘, ‘armeabi-v7a‘, ‘x86_64‘, ‘arm64-v8a‘ moduleName "app" } .... splits { abi { enable true reset() include ‘x86‘, ‘armeabi-v7a‘, ‘mips‘ universalApk true } } }
以上是关于The currently selected variant "arm-debug" uses split APKs, but none of the 1 split apks a的主要内容,如果未能解决你的问题,请参考以下文章
我的Android进阶之旅解决:The currently selected variant “debug“ uses split APKs, but none of the 1 split...
我的Android进阶之旅解决:The currently selected variant “debug“ uses split APKs, but none of the 1 split...
The currently selected variant "arm-debug" uses split APKs, but none of the 1 split apks a
WORKBENCH,启动后,toolox窗口出现no toolbox items are applicable for the current selection这是为啥
错误:the apk for your currently selected variant(app-release-unsigned.apk)is not signed.Please specity
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements