Android studio 3.0在Android studio 3.0中执行任务:[:app:GenerateDebugSources,:app:MockableAndroidJar,:app:GenerateDebugAndroidTestSources]
试试这个:
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
}
}
希望这能有所帮助。并确保您的internet已连接。