android stdio Error Could not find com.android.tools common 25.2.2

  • Error:Could not find com.android.tools:common:25.2.2.

Searched in the following locations:android

file:/D:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/common/25.2.2/common-25.2.2.pomgradle

file:/D:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/common/25.2.2/common-25.2.2.jarui

https://jcenter.bintray.com/com/android/tools/common/25.2.2/common-25.2.2.pomblog

https://jcenter.bintray.com/com/android/tools/common/25.2.2/common-25.2.2.jarip

 

  • 打開 jcenter 地址,的確沒有 25.2.2

 

 

  • 查看本地都安裝了那些版本

 

 

 

 

  • 修改 gradle 版本爲本地存在的版本

 

Gradle scriptget

|同步

|it

build.gradleio

 

 

  • 同步後編譯,一些OK
相關文章
相關標籤/搜索