今天在打开一个Android项目以后,sync gradle的过程中总是报 Could not Get ‘https://mirrors.tencent.com/repository/maven/thirdparty-snapshots/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom’ Enable Gradle ‘offline mode’ and sync project
这个错误
url打开这个链接https://mirrors.tencent.com/repository/maven/thirdparty-snapshots/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom
确实是404
解决办法,在gradle的build脚本中加入google仓库