AS新建項目報錯 “Could not resolve com.android.support.constraint:constraint-layout:1.1.2.”問題解決

Android Studio新建了一個項目,上一個項目沒出這個錯,新項目莫名報了這個錯,

“Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support.constraint:constraint-layout:1.1.2.”

報錯與報錯位置如下

與上一個項目此處是1.0.2,猜測是未更新導致的,此處改爲1.0.2就好了


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章