依赖关系会影响另一个依赖关系的运行

时间:2020-06-02 08:46:56

标签: android firebase gradle

添加Firebase后,mapKit yandex停止正常运行,如果删除,“ UserLocationObjectListener”将停止工作

implementation 'com.google.firebase:firebase-auth:19.3.1'

然后正常工作。谁能告诉我这可能与什么有关?

等级:

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
repositories {


    google()
    maven {
        url "http://maven.google.com/"
    }
    mavenCentral()
}

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.3"

    dependencies {
        implementation 'com.yandex.android:mapkit:3.5.0'
        implementation fileTree(dir: "libs", include: ["*.jar"])
        implementation 'androidx.appcompat:appcompat:1.1.0'
        implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
        implementation 'com.google.firebase:firebase-auth:19.3.1'
        testImplementation 'junit:junit:4.12'
        androidTestImplementation 'androidx.test.ext:junit:1.1.1'
        androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    }
    defaultConfig {
        applicationId "com.example.mapkituserlocation_fb"
        minSdkVersion 16
        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'
        }
    }
}

0 个答案:

没有答案