Java android.support库必须使用完全相同的版本规范
我在谷歌地图上工作。当我尝试添加下面的依赖项时,我得到了这个错误<代码>android.support库必须使用完全相同的版本规范(混合版本可能导致运行时崩溃)。找到版本23.2.1、23.0.0。示例包括com.android.support:animated vector drawable:23.2.1Java android.support库必须使用完全相同的版本规范,java,android,google-maps,android-gradle-plugin,build.gradle,Java,Android,Google Maps,Android Gradle Plugin,Build.gradle,我在谷歌地图上工作。当我尝试添加下面的依赖项时,我得到了这个错误android.support库必须使用完全相同的版本规范(混合版本可能导致运行时崩溃)。找到版本23.2.1、23.0.0。示例包括com.android.support:animated vector drawable:23.2.1和com.android.support:mediarouter-v7:23.0.0 我在这一行中遇到错误compile'com.android.support:appcompat-v7:23.2.1
和
com.android.support:mediarouter-v7:23.0.0
我在这一行中遇到错误compile'com.android.support:appcompat-v7:23.2.1'
这是我的毕业证书:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "gs.app.lugmah"
minSdkVersion 15
targetSdkVersion 23
versionCode 3
versionName "1.2"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
lintOptions {
xmlReport false
warningsAsErrors true
quiet false
showAll true
disable 'OldTargetApi', 'UnusedAttribute', 'LongLogTag'
}
}
dependencies {
testCompile 'junit:junit:4.12'
compile 'com.google.android.gms:play-services:9.0.0'
compile 'com.android.support:appcompat-v7:23.2.1'
compile 'com.android.support:design:23.2.1'
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.baoyz.swipemenulistview:library:1.3.0'
compile 'com.loopj.android:android-async-http:1.4.9'
compile 'com.github.vlonjatg:progress-activity:v1.0.3'
compile 'com.google.android.gms:play-services-auth:9.0.0'
compile 'com.facebook.android:facebook-android-sdk:4.11.0'
compile 'com.facebook.fresco:fresco:0.10.0'
compile 'com.github.nicolasjafelle:paginglistview:1.2'
}
如果我评论这一行compile'com.google.android.gms:play services:9.0.0'
,那么在compile'com.android.support:appcompat-v7:23.2.1'
有人能帮我解决这个问题吗?不要使用播放服务所有模块只需添加
compile 'com.google.android.gms:play-services-maps:9.0.0'
非常感谢你。你救了我一天。