crashlytics-android

Crashlytics Missing NDK symbols with android app bundle

*爱你&永不变心* 提交于 2019-12-11 10:26:18
问题 Firebase Crashlytics symbol upload not working with android app bundle (AAB) The setup was done following the instructions here: https://firebase.google.com/docs/crashlytics/get-started#android AndroidManifest.xml : <meta-data android:name="firebase_crashlytics_collection_enabled" android:value="false" /> build.gradle : implementation 'com.crashlytics.sdk.android:crashlytics-ndk:2.0.5' for crashlytics ndk support Fabric.with(Fabric.Builder(this) .kits(Crashlytics(), CrashlyticsNdk()) .build()

Fabric and Crashlytics not working with Bazel build

三世轮回 提交于 2019-12-11 09:08:57
问题 I'am building an android app which uses fabric-crashlytics for logging all the crashes in devices. This particular line of code: Crashlytics crashlyticsKit = new Crashlytics.Builder() .core(new CrashlyticsCore.Builder().disabled(false).build()) .build(); Fabric.with(this, crashlyticsKit); is crashing with Bazel, but, when I set this value to "true"..(i.e., I'am disabling Crashlytics ), this application's Bazel build is working fine. But, If I'am building a normal android app it's not crashing

How to set user information to Crashlytics api in Android

情到浓时终转凉″ 提交于 2019-12-10 04:35:36
问题 I am trying to set user information to crash reports in crashlytics in Android App, so that it will help me to find out which of our users experienced a given crash. I have explored and found there are 3 APIs can set user information in crash report. Those are, void Crashlytics.setUserIdentifier(String identifier); void Crashlytics.setUserName(String name); void Crashlytics.setUserEmail(String email); It is recommended to use all the APIs. All documented at http://support.crashlytics.com

Fabric Beta and APK splits

感情迁移 提交于 2019-12-09 11:36:19
问题 I'm splitting my app based on ABI, not on density, like so: splits { abi { enable true reset() include 'x86', 'armeabi', 'armeabi-v7a', 'mips', 'arm64-v8a' universalApk true } } I have multiple flavors, and 2 build types (debug and release). I want to put the universal apk file, that has native libs for all platforms, up on fabric beta. From what I understand, this is supported through the ext.betaDistributionApkFilePath attribute. I can define this either at the buildType level, or at the

Reporting Crashes in Android Library via Crashlytics

感情迁移 提交于 2019-12-07 16:19:41
问题 I am building an android library that I plan to integrate into many 3rd party apps(which do not belong to me). So, I am trying to figure out a way to find out if any of those 3rd party apps crashes due to the code in my library. Is there any way to find that out? I was looking at Crashlytics to achieve the same. But, as I understand, Crashlytics will be able to give the Crash analytics to only the app owner, right? Is there any way to collect the crash info without the intervention of the 3rd

Android Fabric - send Caught Exceptions at custom interval

此生再无相见时 提交于 2019-12-07 13:44:38
问题 According to Fabric documentation Fabric doc to reduce user traffic, caught exceptions are sent only when the app launches - Crashlytics processes exceptions on a dedicated background thread, so the performance impact to your app is minimal. To reduce your users’ network traffic, Crashlytics batches logged exceptions together and sends them the next time the app launches. try { myMethodThatThrows(); } catch (Exception e) { Crashlytics.logException(e); // handle your exception here! } But for

Fabric plugin incompatible with Gradle 4.4 +

走远了吗. 提交于 2019-12-07 12:14:55
问题 Recently I have had to update my project to use Gradle 4.4 from 4.1. i.e. distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip in my gradle-wrapper.properties file. However, this is incompabitble with the fabric plugin apply plugin: 'io.fabric' As since the gradle update, I now get build errors when syncing my project. Such as: Error:Could not get unknown property 'manifestFile' for task ':Module:generateVariantFlavorRFile' of type com.android.build.gradle.internal

Fabric plugin incompatible with Gradle 4.4 +

本小妞迷上赌 提交于 2019-12-06 01:30:01
Recently I have had to update my project to use Gradle 4.4 from 4.1. i.e. distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip in my gradle-wrapper.properties file. However, this is incompabitble with the fabric plugin apply plugin: 'io.fabric' As since the gradle update, I now get build errors when syncing my project. Such as: Error:Could not get unknown property 'manifestFile' for task ':Module:generateVariantFlavorRFile' of type com.android.build.gradle.internal.res.GenerateLibraryRFileTask. Does anyone know when/if there will be a new plugin update that is

Reporting Crashes in Android Library via Crashlytics

吃可爱长大的小学妹 提交于 2019-12-05 20:10:14
I am building an android library that I plan to integrate into many 3rd party apps(which do not belong to me). So, I am trying to figure out a way to find out if any of those 3rd party apps crashes due to the code in my library. Is there any way to find that out? I was looking at Crashlytics to achieve the same. But, as I understand, Crashlytics will be able to give the Crash analytics to only the app owner, right? Is there any way to collect the crash info without the intervention of the 3rd party app? Thanks. EDIT: This isn't a duplicate of Integrating Crashlytics to library project because

How to set user information to Crashlytics api in Android

帅比萌擦擦* 提交于 2019-12-05 07:40:34
I am trying to set user information to crash reports in crashlytics in Android App, so that it will help me to find out which of our users experienced a given crash. I have explored and found there are 3 APIs can set user information in crash report. Those are, void Crashlytics.setUserIdentifier(String identifier); void Crashlytics.setUserName(String name); void Crashlytics.setUserEmail(String email); It is recommended to use all the APIs. All documented at http://support.crashlytics.com/knowledgebase/articles/120548-how-do-i-set-user-information- But I have no idea, 1. How to get user