buildscript {
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} } } allprojects { repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} } }
Then choose to rebuild the project
Through Alibaba Cloud Mirror, it will be much faster.