Failed to resolve: com.google.firebase:firebase-core:15.0.0

后端 未结 6 2212
庸人自扰
庸人自扰 2020-12-31 01:50

I have a strange issue when integrate firebase:

\"enter

6条回答
  •  醉话见心
    2020-12-31 02:30

    Updated all the dependencies to

    dependencies {
      implementation "com.google.android.gms:play-services-base:16.0.1"
      implementation 'com.google.android.gms:play-services-maps:16.0.0'
      implementation 'com.google.android.gms:play-services-location:16.0.0'
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
      implementation 'com.google.firebase:firebase-core:16.0.6'
      implementation 'com.google.firebase:firebase-auth:16.0.1'
      implementation 'com.google.firebase:firebase-database:16.0.5'
    }
    

    then build -> clean project, build -> rebuild project and is working

提交回复
热议问题