I have some project in Android Studio 3.0 Beta 7 which uses Firebase. Now, I've registered app in Firebase Console` and when I try to connect to Firebase from Android Studio Firebase plugin, I get following error:
Firebase: No clients were able to be added to your Firebase project for the following reasons:
Here is screenshot:
The reason part of message IS EMPTY and I do not know what is wrong. I am doing this for the first time and I humbly ask for understanding.
#kernelPanic you should connect your application to firebase as shown in the image it seems that you haven't connected your app to firebase
as in the image on the right side there is only a green tick mark that shows that you have added the dependencies of firebase but haven't connected the app..
click on the button "CONNECT TO FIREBASE" on right side.
Related
I am trying to link my Firebase project to BigQuery. It seems to not work and every time clicking the "Link to BigQuery" fails with this error (screenshot attached) even though I am the owner of the project. I could not find any more details about what is the issue. The same project successfully links to Google Analytics. Would be great to get any inputs on fixing this issue.
Based on inputs from firebase support team I was able to resolve this issue. We need to enable Firebase Management API in https://console.cloud.google.com/. I have put down the error response which you can lookout if the error occurs.
We're using Firebases authentication for logging in and registering accounts. For some reason, one person on the team (member 1) is able to use it properly but when myself or another team member (member 3) tries to test it by creating an account or logging in we get the error
com.google.firebase.auth.FirebaseAuthException: The given sign-in
provider is disabled for this Firebase project. Enable it in the
Firebase console, under the sign-in method tab of the Auth section.
We have tried everything we can think of to fix this error. Email/password sign-in is enabled in the firebase project. We've tried completely copying the files on his machine to ours and it still won't work. What's even odder is that it works fine on member 3's laptop, but not his desktop. I've also had member 1 send me a build from his machine onto my phone and it will work then. I tried completely reinstalling Android Studio as well. I'm not even sure what files to show because I can't imagine it's a problem with the code, since it works perfectly fine for member 1 and member 3 on his laptop. If there's any file you need to see I'll be glad to add it.
That might actually be working in the third members laptop because he would have linked the firebase with your project and put the SHA-1 of his laptop, If you want that to work with yours as well then you need to go to firebase console and add SHA-1 to the console to have it work. try this.
And if it helps please do accept i, if I didnt help let me know and il check more for you.
I have two projects.
connected like this document.
connected with Frabric plugin on Android Studio.
First of all, My colleague connected the first way. It worked fine. After that I needed to create a new project for test. And I connected Crashlystics with Fabric plugin(I didn't know how my colleague connected at that time.)
Now, I needed to connect Crashlystics to the original version(which is 1).
However, It shows the crash graphs, But I don't get any reporting like which line got which error. I checked my test project and it gets the reporting.
So, I disconnected my account connected to Fabric and my app. And then, I get 0 reporting in both project.
At the moment, My setting is just like the document. And of course, I have google-services.json file correctly.
How can I solve this problem?
The two methods that you've followed would have crash reporting at different places.
1st one would report everything on Firebase Console.
2nd would report everything on Fabric dashboard.
To connect fabric to firebase you would just need to migrate your app over to firebase with just a few button clicks and no code change.
My assumption is that you might not have stripped out the Fabric API Key (In your AndroidManifest.xml file) from your code hence the reports are not coming in at firebase console.
I'm using firebase for my iOS + android app.
I want to remove my iOS app and leave only the android app. (I know its a weird request).
In order to do that I want to block requests to firebase for my iOS app but not from my android app.
So my question is -
How can I block the request for my iOS app on firebase without destroying my android app.
Can I use the firebase rules in some manner?
Can I remove my iOS app from firebase somehow?
Thanks
You can actually delete an app from your Firebase project, so request coming from deleted app wont be responded because the app does not exist and in the case of iOS, the .plist firebase file used for auth will not work anymore.
In order to delete the iOS project, go to:
Project Overview -> iOS app that you want to delete -> Configuration (Where it has some dots in the corner)
(Sorry my panel is in spanish, but you can see where the app config panel is)
You will find a Delete application button right in the bottom of the page.
You can remove the iOS app from Firebase console itself.
Project settings (near project overview) -> Delete iOS APP.
I am trying to connect to Firebase from Android Studio Assistance but getting following error despite having internet connection.
Firebase
A config file "G:\ANDROID\GoFishing\app\google-services.json" was found, but it indicates a project ID "gofishing-149406" that you don't appear to have access to. Request access or delete the file in order to proceed with the connection process.
just Delete that config and go again to firebase console and download a new file and make sure that you have given the access to the project if done problem solved if not make sure that you are not usinfg the the package which was already integrated and restricted access for another apps if so create a a new package and do the same process
if it wont help
just delete that file (config) and go to assistant and click on connect to fire base and give all the credentials and give the new name to package and go with it every thing runs properly
hope it will hep you for sure
Just delete "google-services.json" file in "app" folder of your project and reconnect your app to Firebase with Assistant
This was happening to me because the account I used to login to Android Studio (the account in the most top right) that was not the account I created the firebase account with.
As soon as I logged in to my firebase account in android studio it asked to sync and it worked fine
You will receive this error if you have open different accounts between Android Studio and Firebase. Because the Firebase assistant attempts to contact the Firebase service with your account registered in Android Studio. You can resolve this error by selecting the Add account option in Android Studio.