Why i can't enable crash report on Firebase? - android

I register on firebase and i followed the steps from Android studio everything looks fine, i found my app in firebase console and some stats for my app.
But the most important is to see when my app crash and i also want to get some info from variables before the crash, so from Android Studio again i add the the crash report but nothing happened, then i follow the steps on the site...still nothing.
When my app runs the test crash lines examples from firebase site it crashes also at firebase console at the crash section nothigh is appeared except the install in fabric & install in firebase options

I just needed to Update everything on Android Studio and make use of latest vesions.

Related

firebase console not showing my App Crash report

I added firebase crashlytics to my app before two days ago .
Our app yesterday 10 times crashed this report i saw today in my play
console. But my firebase console not showing this data. what is the reason?
Firebase console now showing me progress bar continues, but is not showing any report.
At the time of adding firebase crashlytics to project i followed steps from official documentation from https://firebase.google.com/docs/crashlytics/get-started?authuser=0&platform=android
Crash reports are uploaded almost in real-time after your app crashes and relaunches. If you are still unable to see your crash reports, then likely your Crashlytics integration is off.
If you followed all of the documentation correctly that you linked, then you would need to contact Firebase support so they could take a look at your gradle files, and how you're calling Crashlytics in your app.

How to Upload Android APK to Fabric Beta

What I want?
I have an Android App that I want to upload to Fabric Beta.
How do I want it ?
I want to upload my Android App to Fabric Beta using Fastlane.
What goes wrong ?
After running my fastlane fastlane beta command, I get a nice report that everything is fine and I should see my app on Fabric dashboard:
[16:06:57]: Uploading the build to Crashlytics Beta. Time for some ☕️.
[[16:07:03]: Build successfully uploaded to Crashlytics Beta 🌷
[[16:07:03]: Visit https://fabric.io/_/beta to add release notes and notify testers.
But when I go https://fabric.io/_/beta, my app DOES NOT appear there !
What else did I try?
Tried the official integration doc. Installed the Fabric plugin on Android Studio.Logged in with my credentials,selected my app bundle identifier and always get throwed to credentials screen from the "All Kits" screen.Looks like a bug to me.Didn't find solution for that anywhere.
Did I try to integrate Fabrik SDK by hand and run the app ?
Yes I did, and the app still didn't appear in the Fabric dashboard.Didn't see any related errors in the logcat.
What about uploading using Gradle Plugin?
That one was tricky because I had to fix numerous errors and provide fabric.properties file with my credentials, but eventually got a promising message :
Task :application:crashlyticsUploadDistributionGoogleProdStagingAlpha
Uploading /Users/yanbraslavsky/booking-app/application/build/outputs/apk/googleProd/stagingAlpha/application-google-prod-stagingAlpha.apk to Crashlytics...
BUILD SUCCESSFUL in 6s
And still no app in the Fabric dashboard.
What do I want now?
I have an Android App that I want to upload to Fabric Beta...
Fabric/Firebaser here -
This issue was solved over the Fabric support channel! When attempting to upload a Beta distribution to Fabric, first make sure that the app is onboarded properly (visible on your dashboard at fabric.io). If it isn't, the above can happen where you still get a successful upload result without being able to view the distribution.
If you've included all the Fabric dependencies and are still having trouble seeing the app on your dashboard, try running a clean of the project, then building, waiting some time, and running the app. If you still can't see the app after a few minutes, reach out to the Fabric support address with your package name/bundle ID.
Also make sure that your build.gradle is properly configured if you have multiple build configurations. In this particular app, the issue was in the applicationIdSuffix of one of the build configurations. Finally, check that you've used the correct API key and build secret from the Fabric organization settings - this ensures that you have permission to upload the Beta distribution and puts it in the right place.

Firebase console sdk setup showing as unfinished

I created an android application on Android studio 3.4.2 and integrated Firebase using the firebase assistant tool provided on Android studio.There is no problem with using the features of Firebase on the app but when going to the developer's console of Firebase and going to the project overview, it appears as if the the sdk setup is not finished ,I tried following the sdk setup steps provided and the setup won't finish at the last stage i.e, "checking if the app has communicated with our servers,you may need to uninstall and reinstall the app". I've uninstalled my app and reinstalled it but doesn't seem to be registering the app on the Firebase server.
I've tried restarting the internet, Uninstalled my app and reinstalled,made sure net connectivity are okay on both emulator and pc
Check your Firebase console projects, Is there any project with the same package name?. If there is any please remove and try again.

Fabric plugin not integrated in Android studio

I tried to integrate crashlytics using fabric plugin for distribute builds with different devices.
After integrated, Plugin show me to build and run your application but nothing happen after running application many times. its still showing same message.
Below is message:
Your app is not listed in Fabric Panel by just integrating Fabric in Android Project. You should run that in device and wait for sometime.
Still if you can not see your app at Fabric Panel, You can make a fake/test crash.
You can make forceful crash by
divide by zero
get some item from empty list
calling this.stackOverflow();
throw new RuntimeException("This is a crash");

App doesn't start when deployed on the market

I have an app that works on my device while debugging on Android Studio. It works too when I generate the apk copy it to my phone and install it from there. But it doesn't work anymore if i install it from the market.
I just have an error message "Unfortunately, xxxxx has stopped". I checked the crash report in Google Play Console but I have 0 crash, at least for now... Is there a way to get some crash log or some clue to debug this ?
Install crashlytics or firebase crash dependencies and you'll be able to see the crash logs on their consoles. If you don't want that, you yourself can override the Thread.UncaughtexceptionHandler and set your custom handler as the default handler. Just Google how to do that as it's a lengthy thing to explain here.
Also if you are using proguard, firebase crash will need other configurations apart from just adding the dependency. Crashlytics handles this on its own.

Categories

Resources