0

构建变体选项卡中不存在测试工件列。我尝试了一切,但仍然无法获得测试工件列。我在应用程序的 build.gradle 文件中的依赖项如下所示:

dependencies {
    //    compile 'com.google.android.gms:play-services-analytics:9.0.0'
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile project(':library:androidViewPagerIndicator')
    compile project(':library:camera')
    compile project(':library:ime')
    compile project(':nativebobblificationapi-release')
    compile 'com.google.firebase:firebase-messaging:9.0.0'
    compile('com.crashlytics.sdk.android:crashlytics:2.+@aar') {
        transitive = true;
    }
    compile 'de.greenrobot:greendao:1.3.7'
    compile 'com.google.code.gson:gson:2.3'
    compile 'com.android.support:recyclerview-v7:23.0.+'
    compile 'com.android.support:cardview-v7:23.0.+'
    compile 'io.branch.sdk.android:library:1.+'
    compile 'com.facebook.fresco:fresco:0.10.0'
    compile 'de.greenrobot:eventbus:2.4.0'
    compile 'com.facebook.device.yearclass:yearclass:1.0.1'
    compile 'com.sothree.slidinguppanel:library:3.1.1'
    compile 'com.android.support:support-v4:24.0.0'
    compile 'com.android.support:appcompat-v7:23.1.1'
    compile 'com.android.support:design:23.1.1'
    compile 'com.facebook.android:facebook-android-sdk:4.+'
    compile 'com.amitshekhar.android:android-networking:0.0.1'
    //JUnit 4 framework
    testCompile 'junit:junit:4.12'
    //Mockito framework
    androidTestCompile 'org.mockito:mockito-core:1.10.19'

    compile 'com.android.support:support-annotations:23.0.1'

    androidTestCompile ("com.android.support.test:runner:0.5"){
        exclude group: 'com.android.support'
    }
    androidTestCompile ('com.android.support.test:rules:0.5'){
        exclude group: 'com.android.support'
    }

    androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
}


configurations.all {
    resolutionStrategy {
        force 'com.android.support:support-annotations:23.0.1'
    }
}
4

0 回答 0