所有的com.android.support库必须使用完全相同的版本(混合使用版本可能导致运行时崩溃)。发现的版本是28.0.0-alpha1、26.1.0。例如:com.android.support:animated-vector-drawable:28.0.0-alpha1 和 com.android.support:customtabs:26.1.0等等。有些库、工具和库的组合是不兼容的,或者可能会导致错误。其中一种不兼容性是使用非最新版本(或特别是低于你的targetSdkVersion版本)的Android support库进行编译。
我的gradle依赖:
implementation 'com.google.firebase:firebase-ads:15.0.1'
implementation 'com.google.firebase:firebase-core:16.0.1'
这些依赖项存在警告 -----------------------------
implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
testImplementation 'junit:junit:4.12'
implementation 'com.google.android.gms:play-services-vision:15.0.2'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.3.+'
implementation 'com.memetix:microsoft-translator-java-api:0.6.2'
implementation 'com.google.firebase:firebase-crash:16.0.1'
implementation 'com.facebook.android:audience-network-sdk:4.+'