国内使用 gradle 需要配置镜像源,网上随便百度配置一下吧。
你的根目录build.gradle配置一下
mavenCentral() google() maven {url "https://jitpack.io"}