运行其他设备棒棒糖,棉花糖,牛轧糖仿真器和真实设备没问题。奥利奥8不支持。显示此错误INSTALL_FAILED_NO_MATCHING_ABIS。
下面的gradle
get numberOfBins(): number {
return numBins = this.options.find(x => x.name === ;
}
试过这个
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion '26.0.2'
defaultConfig {
applicationId "com.paulcart.administrator.wibslink"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
dependencies {
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-
core:2.2.2', {
exclude group: 'com.android.support', module: 'support-
annotations'
})
compile files('libs/PhotoUtil.jar')
compile files('libs/GenAsync.1.2.jar')
compile 'com.wajahatkarim3.EasyFlipView:EasyFlipView:1.0.0'
compile 'com.jakewharton:butterknife:8.5.1'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
testCompile 'junit:junit:4.12'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
compile 'com.github.amlcurran.showcaseview:library:5.4.3'
}
android {
useLibrary 'org.apache.http.legacy'
}
android { sourceSets { main { res.srcDirs = ['src/main/res',
'src/main/res/layout-land'] } } }
然而这不起作用,为了确保问题出在Oreo 8.0 Emulator上,我也检查了OREO Real设备,问题仍然存在
帮我解决这个问题。
答案 0 :(得分:1)
8.0对于lib文件夹中的内容更为严格
示例(在android块中):
packagingOptions {
exclude 'lib/commons-lang-2.6.jar'
}