![](/img/trans.png)
[英]How to log out of your android studio account using Firebase Auth?
[英]Firebase with Android Studio Log in
我仍然不知道為什么我會收到此錯誤。 我已經將所有依賴項和文件添加到我的 android studio 項目中。
這是我的 root/build.gradle
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:3.2.0'
}
這是我的 root/app/build.gradle:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:design:26.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.android.support:multidex:1.0.1'
implementation 'com.google.firebase:firebase-core:11.8.0'
}
apply plugin: 'com.google.gms.google-services'
這是錯誤:請注意,我將 google json 放在了它必須的位置
我不明白你想做什么? 您是否只是嘗試連接到 Firebase 而無法連接? 要使用身份驗證還是什么?
1- 您是否嘗試過工具 -> Fire base 並遵循這些步驟? 它將為您自動化一切。 正如我在您的屏幕截圖中看到的,只需按“連接到 Firebase”和“添加雲存儲”
2- 您是否已經擁有 firebase 帳戶和項目以便可以連接到它?
你能解釋一下“使用 Android Studio 登錄的 Firebase”是什么意思嗎?!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.