Android:无法解决错误

时间:2018-07-24 01:49:39

标签: android

我正在遵循一些指示。尽管遵循了这些说明(我希望我能正确地遵循它!),但是我还是遇到了错误。

  

错误:无法解决:   :preset-test-package-all-v3.0.19-datasetpackage3.0.19:

代码:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.example.demo.myapplication"
        minSdkVersion 15
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    implementation(name: 'preset-test-package-all-v3.0.19-datasetpackage3.0.19', ext: 'aar')
    implementation 'com.google.android.gms:play-services-ads:9.+'
}

repositories {
    flatDir {
        dirs 'libs'
    }
}

我在做什么错?

0 个答案:

没有答案