首页 > 解决方案 > 无法解决:com.google.firebase:firebase-firestore:11.0.4

问题描述

我在 Stack Overflow 上查看了一些关于该问题的文章,但没有奏效。问题是我的构建无法解决:

com.google.firebase:firebase-firestore:11.0.4

我正在使用 android studio 来制作我的应用程序,我正在尝试在其中实现 Firebase Firestore。

这是我的模块:应用程序文件的 build.gradle 中的代码:

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:support-media-compat:27.1.1'
implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-firestore:11.0.4'
implementation 'de.hdodenhof:circleimageview:2.2.0'
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'
compile 'com.android.support:design:27.1.1'
compile 'com.android.support:support-annotations:27.1.1'
compile 'com.theartofdev.edmodo:android-image-cropper:2.7.+'
}

我不知道是怎么回事。非常感谢您的帮助!

标签: firebase

解决方案


Firestore 的初始版本是 2017 年 10 月的 11.4.2。请参阅发行说明


推荐阅读