简体   繁体   English

Android版Firebase-无法设置项目

[英]Firebase for Android - not able to set up project

I am using Android Studio 3.2 and trying to set up a project with firebase auth. 我正在使用Android Studio 3.2,并尝试使用firebase auth设置项目。 I use studeo's helper feature to guide through the steps. 我使用studeo的帮助程序功能来指导这些步骤。

Adding dependency firebase-auth-16.0.xx:15.0.0 - Grade is not able to sync 添加依赖项firebase-auth-16.0.xx:15.0.0-等级无法同步

Remove 15.0.0 gradle syncs but the tool shows that project is not configured for firebase. 删除15.0.0 gradle同步,但该工具显示未为Firebase配置项目。

How to solve this. 如何解决这个问题。

Have you checked dependencies are added properly? 您检查依赖项是否已正确添加? like 喜欢

  implementation 'com.google.firebase:firebase-storage:16.0.1'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.firebase:firebase-client-android:2.5.0'

implementation 'com.google.firebase:firebase-database:16.0.1'

also add google play services dependency 还添加Google Play服务依赖项

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM