Fabric plugin not integrated in Android studio - android

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");

Related

How to initialize Unity LevelPlay ads?

I'm implementing ads with Unity LevelPlay.
I followed everything in the documentation and installed these adapters:
ironSource 7.2.6
UnityAds 4.3.29.1
When I test on device, I have two different errors in these situations:
If I make a local build and install it immediately using "Build & Run", the game starts, but the call to IronSource.Agent.init(appKey) ends up with INIT_FAILED. Everything else in the game keeps working except for ads.
If I upload the build on Google Play Console for internal testing and install from there, the game doesn't even start and crashes immediately complaining about Google AdMob not being initialized correctly. I don't understand why as I'm not even using AdMob adapter.
You can see both errors in the attached screenshot, unfortunately not being very explicative.
Why could I be getting these errors and what can I try in order to solve them?
Unity Version: 2020.3.42f1;
LevelPlay Version: 7.2.6;
Unity LevelPlay compatible with Unity version 2021.3

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.

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.

Why i can't enable crash report on Firebase?

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.

Fabric always shows app update is available

I have been using fabric since long time now. But since first I have started using I have been facing a issue and till the date have tried to search many times but never got any solution.
I use Mac to build android apps and when I send that apps on fabric for testing to clients it always shows update is available even if I downloaded latest version just now and than check again and it shows app update is available. And this only happens when I build apps from my mac when another person build same app, same source from windows than it works fine like after I download latest version it do not show version is available.
Any help on this ?
Ok, Finally found solution, Basically it works fine if we just build the APK using Build command or option from menu and then send via fabric, it do not work if we send APK which was generated from Build and run.

Categories

Resources