AS报错“Could not find com.android.tools.build:gradle:4.1.2.”
更改build.gradle文件,换用阿里镜像
解决报错:Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository ‘maven(http://maven.aliyun.com/nexus/content/groups/public/)’ to redirect to a secure protocol (like HTTPS) or allow insecure protocols.
1 |
|
AS报错“Could not find com.android.tools.build:gradle:4.1.2.”
https://blog.zhuanjie.ltd/2021/10/14/as-wrong-could-not-find-com-android-tools-buildgradle4-1-2/