首页 > 解决方案 > 所有 com.android.support 库必须使用完全相同的版本,发现版本 28.0.0-alpha3、23.2.1

问题描述

为什么会出现这样的错误

我的毕业生在这里:

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:cardview-v7:28.0.0-alpha3'
implementation 'com.android.support:design:28.0.0-alpha3'
implementation 'com.facebook.fresco:fresco:1.8.0'
implementation 'com.facebook.fresco:animated-gif:0.13.0'
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.squareup.okhttp3:okhttp:3.7.0'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

compileSdkVersion 是 28 而 targetSdkVersion 是 28 我不知道问题出在哪里。任何帮助将不胜感激!

标签: androidandroid-gradle-plugin

解决方案


推荐阅读