所有com.android.support库都必须使用完全相同的版本规范。找到版本28.0.0,27.0.2

时间:2019-05-01 17:34:01

标签: android android-gradle

我在第

行出错
implementation 'com.android.support:appcompat-v7:28.0.0'

错误说我有28.0.0和27.0.2的不同版本。但我看不到27.0.2。当我删除行

时,错误也将删除
implementation 'com.facebook.android:facebook-share:[4,5)'

GRADLE FILE

implementation 'com.squareup.picasso:picasso:2.5.2'

//    implementation 'com.facebook.android:facebook-share:[4,5)'
    implementation 'com.facebook.android:facebook-share:[4,5)'




    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

0 个答案:

没有答案