:app:compileDebugJavaWithJavac失败出了什么问题:任务':app:compileDebugJavaWithJavac'的执行失败

时间:2018-10-25 18:09:42

标签: android paypal payment

我正在尝试在我的应用程序中创建和处理付款,但我一直遇到此错误。

有人可以帮忙吗?

这是我的代码:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    buildToolsVersion '28.0.0'

    defaultConfig {
        applicationId "com.firebase.alokraj.firebaselogin"
        minSdkVersion 23
        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'
        }
    }

    packagingOptions {
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE-FIREBASE.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/DEPENDENCIES'
        // prevent error message "More than one file was found with OS independent path 'META-INF/DEPENDENCIES'"
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:design:28.0.0'
    testImplementation 'junit:junit:4.12'
    implementation 'com.android.support.constraint:constraint-layout:1.0.0-beta5'
    //Firebase
    implementation 'com.google.firebase:firebase-core:10.0.1'
    implementation 'com.google.firebase:firebase-auth:10.0.1'
    implementation 'com.google.firebase:firebase-database:10.0.1'
    // HTTP library (for Mailgun)
    implementation 'com.android.volley:volley:1.1.1'
    implementation 'com.braintreepayments.api:drop-in:3.+'
    implementation 'com.braintreepayments:card-form:3.1.1'
    implementation 'com.loopj.android:android-async-http:1.4.9'
}

// Firebase

应用插件:“ com.google.gms.google-services”

0 个答案:

没有答案