解决 Could not resolve com.android.tools.build:gradle:4.2.2 问题
在repositories中添加新的仓库地址:maven{url‘https://maven.aliyun.com/nexus/content/repositories/google’}buildscript{repositories{maven{url'https://maven.aliyun.com/nexus/content/groups/public/'}maven{url'https:/