Android studio connection reset error?

I recently updated Android 2.2.2. Now I got a reset error message when checking sdks and adding a dependency for build.gradle. I have no idea about this. to remove this error.

image1

+6
source share
1 answer

Try adding mavenCentral () inside the buildscript.repositories shell, for example. put an error log to retrieve the response

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 } } 
+3
source

Source: https://habr.com/ru/post/1012758/


All Articles