添加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'
}
}
}