在AndroidDebuggeCompileTest上卡住并在gradle building上显示错误

在AndroidDebuggeCompileTest上卡住并在gradle building上显示错误,android,build.gradle,Android,Build.gradle,##这是我的build.gradle应用程序模块## **---------- **这是我在gradle building(androiddebugCompileTest)10-20分钟后遇到的错误**** 对此进行注释并重新生成。没有那么多必要。您是否在线构建?查看此链接与您的问题相同 apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVe

##这是我的build.gradle应用程序模块##

**---------- **这是我在gradle building(androiddebugCompileTest)10-20分钟后遇到的错误****


对此进行注释并重新生成。没有那么多必要。您是否在线构建?

查看此链接与您的问题相同
 apply plugin: 'com.android.application'

    android {
        compileSdkVersion 23
        buildToolsVersion "23.0.3"
        defaultConfig {
            applicationId "com.mytech.wv"
            minSdkVersion 19
            targetSdkVersion 23
            versionCode 1
            versionName "1.0"
            testInstrumentationRunner 


        }
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
    }

    dependencies {
        compile fileTree(include: ['*.jar'], dir: 'libs')
        androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
            exclude group: 'com.android.support', module: 'support-annotations'
        })
        compile 'com.android.support:appcompat-v7:23.4.0'
        compile 'com.android.support:design:23.4.0'
    }
 Error:Error:Failed to resolve: junit:junit:4.12
   Error:Error:Failed to resolve: javax.inject:javax.inject:1
   Error:Error:Failed to resolve: javax.annotation:javax.annotation-api:1.2
   Error:Error:Failed to resolve: com.google.code.findbugs:jsr305:2.0.1
   Error:Error:Failed to resolve: org.hamcrest:hamcrest-library:1.3
   Error:Error:Failed to resolve: org.hamcrest:hamcrest-integration:1.3
   Error:Error:Failed to resolve: com.squareup:javawriter:2.1.1
 Error:Error:Failed to resolve: junit:junit:4.12