有时候,刚刚下载安装Android studio会出现以下报错:
Cause: unable to find valid certification path to requested target
这是由于默认配置的源被墙了,导致部分资源不能访问报错
把以上红框标红的值替换为以下:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/j