无法解析':app @ debug / compileClasspath'的依赖关系:无法解析com.google.firebase:firebase-database:19.2.1

时间:2020-03-28 11:47:28

标签: firebase-realtime-database import implementation

apply plugin: 'com.android.application'

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

android { 编译版本29 buildToolsVersion“ 29.0.3”

defaultConfig {
    applicationId "com.example.mytest"
    minSdkVersion 21
    targetSdkVersion 29
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

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

}

依赖项{ 实现fileTree(dir:'libs',包括:['* .jar'])

implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
implementation 'com.google.firebase:firebase-analytics:17.2.3'
Implementation 'com.google.firebase:firebase-database:19.2.1'

}

0 个答案:

没有答案