![](/img/trans.png)
[英]Android dependency 'com.android.support:support-v4' has different version for the compile (26.1.0) and runtime (27.1.1) classpath error
[英]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.