0
votes

Android studio 3.0 in android studio 3.0 م Executing tasks: [:app:generateDebugSources, :app:mockableAndroidJar, :app:generateDebugAndroidTestSources] at this gardle stops and gives me

Failed to complete grandle excution

Cause: connection was forcibly closed by the remote host

What can i do?

1

1 Answers

1
votes

Try this:

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.3.2'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
    }
}

Hope this helps. And make sure your internet is connected.