crashlytics

Crashlytics not showing crashes for release build Android

馋奶兔 提交于 2019-12-02 08:06:17
问题 I am facing isssue with Crashlytics. Not sure what I am doing wrong. I have two buildTypes release and debug as below. Gradle file: apply plugin: 'com.android.application' apply plugin: 'io.fabric' repositories { maven { url 'https://maven.fabric.io/public' } } apply plugin: 'android-apt' def AAVersion = '4.2.0' buildscript { repositories { mavenCentral() maven { url 'https://maven.fabric.io/public' } } dependencies { // replace with the current version of the android-apt plugin classpath

Using Fabric with Multidex with an exported Unity project

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 05:02:03
I have exported my Unity project to be able to use multidex. Problem is I have to set the android:name in the project's androidmanifest to "android.support.multidex.MultiDexApplication" when I already have this "io.fabric.unity.android.FabricApplication" set for fabric. I have tried initializing Fabric manually but then I get this error : AndroidJavaException: io.fabric.unity.android.FabricInitializationException: Fabric did not find a valid application context. I have found that someone had a similar problem but it didn't got solved: https://twittercommunity.com/t/unity-android-plugin

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x48 in tid 21741 (RenderThread) in android in rear case in some device

独自空忆成欢 提交于 2019-12-02 04:40:29
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x48 in tid 21741 (RenderThread) in occured in the rearest case in some device.If anyone knows please answer.Due to this error android application crash at every activity. <activity android:name=".HomeActivity"/> crash ankit Solved. just add: android:hardwareAccelerated="false" in manifest file in activity <activity android:hardwareAccelerated="false" android:name=".HomeActivity"/> Reference: Hardware Acceleration . 来源: https://stackoverflow.com/questions/42966459/fatal-signal-11-sigsegv-code-1-fault-addr-0x48-in-tid-21741-renderthread-i

Missing DYSM Error on multiple Target in Fabric and Objective C

白昼怎懂夜的黑 提交于 2019-12-02 01:21:49
In my app there are two targets: Target 1 : MyApp - com.app.myapp Target 2 : MyAppQA - com.app.myappQa Email Id used for Fabric registration is same for both targets. I have created two apps using Fabric mac app . In MyApp Target Fabric is catching all the crash and working fine. But When I run using target MyAppQA then I am getting Missing DYSM file error. I am not able to get why crash is not captured in my second target. Here is the method which I tried: BitCode - Disabled (Although I am not using bitcode but even then I crosschecked) Debug Information Format - Set to DWARF with dSYM File

Jenkins build fails on Crashlytics tasks

爷,独闯天下 提交于 2019-12-02 00:36:00
问题 I'm new to Jenkins and Build Servers in general. I am working on setting an Android project up on Jenkins and the app uses Crashlytics. Using Gradle, I set my tasks to "clean build", but anytime I hit a Crashlytics task, I get this error: java.lang.Error: Classloader conflict in your Gradle environment, please verify you are running the latest Android plugin. and Crashlytics data directory at /Users/Shared/Jenkins/Library/Caches/com.crashlytics could not be created. I tried setting my Gradle

How to disable Crashlytics iOS library using a flag?

孤者浪人 提交于 2019-12-01 20:12:47
问题 I am using latest Crashlytics library for iOS. I am looking to disable crashlytics using a single flag. How can I do that? PS: I am not using set API key method as per new SDK integration guidelines. (integrated using MAC app) 回答1: Are you trying to prevent Crashlytics from running, or prevent the SDK from getting compiled in at all? To prevent it from running, you can not make the Crashlyitcs call to get it going, generally done in your app delegate. For example, if you're using Crashlytics

How do i initialize the new version of crashlytics?

心已入冬 提交于 2019-12-01 18:07:19
Everything works fine when I initialize my application with: Fabric.with(this, new Crashlytics()); However, I get an exception when I use: Fabric.with(this, new CrashlyticsCore()); The following exception: FATAL EXCEPTION: main Process: com.weightbook, PID: 19438 java.lang.IllegalStateException: Crashlytics must be initialized by calling Fabric.with(Context) prior to calling Crashlytics.getInstance() at com.crashlytics.android.Crashlytics.checkInitialized(Crashlytics.java:372) at com.crashlytics.android.Crashlytics.setUserName(Crashlytics.java:248) at com.weightbook.analytics.AnalyticsManager

Build error after migrating from Crashlytics SDK to Fabric

时光毁灭记忆、已成空白 提交于 2019-12-01 15:50:32
Recently, we've upgraded our organization's Crashlytics account to Fabric, and I'm trying to replace the old Crashlytics SDK with the new Fabric SDK in our existing apps. I've followed the migration instructions , and it's been largely painless, except that I'm now receiving a build error when I try to compile. The line in question that's causing the error is the bootstrap call: Fabric.with(this, new Crashlytics()); The error that's being returned is: Error:(55, 11) error: no suitable method found for with(MyActivity,Crashlytics) method Fabric.with(Fabric) is not applicable (actual and formal

Scope of causes for EXC_BREAKPOINT crash

孤者浪人 提交于 2019-12-01 15:00:54
I have this stack trace in Fabric: My question : From the crash log, is the function 'formatMessageAuthorName' the only cause for this EXC_BREAKPOINT crash? E.g., are there other possible causes for the crash apart from the code inside this function? Here is my formatMessageAuthorName function: private static func formatMessageAuthorName(firstname: String, lastname: String?=nil) -> String { // Capitalise first character of firstname var Cap_firstname = firstname Cap_firstname.replaceRange(Cap_firstname.startIndex...Cap_firstname.startIndex, with: String(Cap_firstname[Cap_firstname.startIndex])

iOS (Fabric): Crashlytics crashing app on launch

亡梦爱人 提交于 2019-12-01 10:46:56
I have updated the Crashlytics but still I am getting this error on launch: Error: *** Terminating app due to uncaught exception 'FABException', reason: '[Fabric] It appears that "Crashlytics" is not a valid Fabric Kit. Please make sure you only pass Fabric Kits to [Fabric with:].' Here is my code: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Override point for customization after application launch. Fabric.with([Crashlytics.self]) return true } I was having a crash on the same line, and it was because I called