今天更新根文件夹中的播放服务后,我面临以下问题.我很困惑如何解决这个问题.
有人可以帮我解决这个问题吗?
这个错误很刺激.我不知道冲突在哪里.顺便说一下,为什么它显示冲突而没有版本相互关联.
错误:
图书馆com.google.android.gms:play-services-measurement-base正在[[15.0.0,15.0.0],[15.0.2,15.0.2]]的其他各个图书馆请求,但已解决为15.0.2.禁用插件并使用./gradlew:app:dependencies检查依赖关系树.
build.gradle脚本:
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
}
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "community.infinity"
minSdkVersion 16
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
aaptOptions {
cruncherEnabled = false
}
dexOptions {
preDexLibraries false
javaMaxHeapSize "4g"
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard- android.txt'), 'proguard-rules.pro'
}
debug {
ext.enableCrashlytics = false
}
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility …Run Code Online (Sandbox Code Playgroud)