第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Android Studio - gradle 警告:所有 com.android.support

Android Studio - gradle 警告:所有 com.android.support

GCT1015 2022-05-25 17:30:20
我在下一行收到警告implementation 'com.android.support:appcompat-v7:28.0.0'警告:All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 24.0.0. Examples include com.android.support:animated-vector-drawable:28.0.0 and com.android.support:mediarouter-v7:24.0.0Inspection info:There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion).  Issue id: GradleCompatible下面是我的 build.gradle(app) 代碼(Firebase 庫的新更新)apply plugin: 'com.android.application'android {    compileSdkVersion 28    defaultConfig {        applicationId "com.vanessa.orderfoodserver"        minSdkVersion 21        targetSdkVersion 28        versionCode 1        versionName "1.0"        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"        multiDexEnabled true    }    buildTypes {        release {            minifyEnabled false            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'        }    }}dependencies {    implementation fileTree(dir: 'libs', include: ['*.jar'])    //Add Library    implementation 'com.jaredrummler:material-spinner:1.1.0'    //Firebase    implementation 'com.google.firebase:firebase-storage:16.0.5'    implementation 'com.google.firebase:firebase-auth:16.1.0'    implementation 'com.firebaseui:firebase-ui-database:4.3.1'    implementation 'com.google.firebase:firebase-database:16.0.6'    implementation 'com.google.firebase:firebase-core:16.0.6'}apply plugin: 'com.google.gms.google-services'我試圖添加com.android.support:support-v4:28.0.0com.android.support:animated-vector-drawable:28.0.0com.android.support:mediarouter-v7:28.0.0但警告仍然存在。我可以運行我的應用程序,但我仍想修復此警告。謝謝!
查看完整描述

2 回答

?
Smart貓小萌

TA貢獻1911條經(jīng)驗 獲得超7個贊

implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'

implementation 'com.android.support.constraint:constraint-layout:1.1.2'

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'

implementation 'com.android.support:design:28.1.0'

或嘗試


 implementation 'com.android.support:appcompat-v7:28.0.0'

 implementation 'com.android.support:animated-vector-drawable:28.0.0'

 implementation 'com.android.support:exifinterface:28.0.0'

 implementation 'com.android.support:cardview-v7:28.0.0'

 implementation 'com.android.support:customtabs:28.0.0'

 implementation 'com.android.support:support-media-compat:28.0.0'

 implementation 'com.android.support:support-v4:28.0.0'


查看完整回答
反對 回復 2022-05-25
?
飲歌長嘯

TA貢獻1951條經(jīng)驗 獲得超3個贊

我對你的建議是,嘗試為你的項目查看每個單獨庫的每個最新版本。有些庫甚至彼此版本不同。Lib A ver 可能是 2.0,Lib B ver 可能是 2.5,但兩者都是最新的(例如 Firebase)。此依賴庫版本是 Android Studio 3.0.+ 遷移的一部分。



查看完整回答
反對 回復 2022-05-25
  • 2 回答
  • 0 關注
  • 286 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號