【发布时间】:2017-11-14 21:01:30
【问题描述】:
我有这个 gradle
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.estimote:sdk:1.4.0'
compile 'com.android.support:appcompat-v7:27.0.1'
testCompile 'junit:junit:4.12'
compile('com.crashlytics.sdk.android:crashlytics:2.7.1@aar') {
transitive = true;
}
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.afollestad.material-dialogs:core:0.9.5.0'
compile 'com.google.android.gms:play-services-maps:11.6.0'
compile 'com.google.android.gms:play-services-location:11.6.0'
}
我对 appcompat-v7:27.0.1 和 google play 服务有疑问。 如果我使用 26.0.1,google play 服务没有问题,但不能使用 afollestand 0.9.5.0。 我需要适用于 appcompat-v7:27 的 afollestand 0.9.5.0
更新: Gradle image
【问题讨论】:
-
有什么问题?
-
我需要 afollestand 0.9.5.0 因为我需要 appcompact v7 27.0.1 但谷歌无法正常工作
-
为什么不起作用?有什么错误吗?
-
appcomat错误是我删除地图时其他正在使用其他版本编译错误disapier
-
你应该阅读这个blog.mindorks.com/…。只要确保所有库都使用相同的版本。你怎么知道的?运行 ./gradlew app:dependencies on linux 和 windows gradlew.bat app:dependencies on windows
标签: android gradle dependencies