我正在尝试运行我的应用程序以处理付款,但是遇到了此错误。我的代码中没有错误,但是我不确定如何解决此问题。我的代码如下:
应用插件:“ com.android.application”
android { 编译版本28 buildToolsVersion '28 .0.3'
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'"
}
}
依赖项{ 实现fileTree(dir:'libs',包括:['* .jar']) androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2',{ 排除组:“ com.android.support”,模块:“ support-annotations” })
implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
implementation 'com.android.support:design:28.0.0-alpha1'
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.paypal.sdk:paypal-android-sdk:2.15.3'
}
// Firebase 应用插件:“ com.google.gms.google-services”
有人可以帮忙吗?