簡體   English   中英

Android依賴項'com.android.support:support-compat'對於編譯(25.1.0)和運行時(25.3.0)類路徑具有不同的版本

[英]Android dependency 'com.android.support:support-compat' has different version for the compile (25.1.0) and runtime (25.3.0) classpath

**Android dependency 'com.android.support:support-compat' has different version for the compile (25.1.0) and runtime (25.3.0) classpath. You should manually set the same version via DependencyResolution**

Android studio版本2.3.3和gradle版本3.5都是這種情況,項目沒有問題,但是現在我使用Android studio3.0出現此錯誤。 請評論。 謝謝

運行Gradle依賴項,

./gradlew -q dependencies <module-name>:dependencies --configuration compile

例:

./gradlew -q dependencies app:dependencies --configuration compile

它會顯示出什么問題,如果進行更改,則錯誤在刪除后消失了。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM