6
我最近更新了android studio 2.2.2。现在,当我检查sdks并将依赖关系添加到build.gradle时,出现连接重置错误。我不知道这件事。指导我删除此错误。Android studio连接重置错误?
我最近更新了android studio 2.2.2。现在,当我检查sdks并将依赖关系添加到build.gradle时,出现连接重置错误。我不知道这件事。指导我删除此错误。Android studio连接重置错误?
尝试增加mavenCentral()的buildscript.repositories外壳内,像这样。把错误日志弹出答案
buildscript {
repositories {
jcenter()
mavenCentral() // This repo should have the gradle plugin
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
http://stackoverflow.com/questions/17019858/android-sdk-manager-wont-update-connection-to-https-dl-ssl-google-com-refuse –
你检查了上述链接/ – Gattsu