无法通知依赖项解析侦听器。
库 com.google.android.gms:play-services-basement 正在 [[11.0.2,11.0.2], [15.0.1,15.0.1]] 处被其他各种库请求,但解析为 15.0。 1. 禁用插件并使用 ./gradlew :app:dependencies 检查您的依赖关系树。
构建应用程序时出现此错误,这是我的 gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.example.radon.vitrin"
minSdkVersion 14
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
useLibrary 'org.apache.http.legacy'
}
dependencies {
implementation 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
implementation 'com.google.zxing:core:3.2.1'
implementation files('libs/CircleImageViewmaster/gradle/wrapper/gradle-wrapper.jar')
implementation files('libs/picasso-2.5.2(1).jar')
implementation 'com.android.support:multidex:1.0.1'
//noinspection GradleCompatible
implementation 'com.android.support:design:26.0.0-alpha1'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:26.0.0-alpha1'
//noinspection GradleCompatible
implementation 'com.google.android.gms:play-services:11.0.2'
慕哥6287543
Cats萌萌
宝慕林4294392
相关分类