i have problems fabric/crashlytics.
i'm using android studio 1.3.2
here build.gradle
buildscript { repositories { jcenter() maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' } } apply plugin: 'com.android.application' apply plugin: 'io.fabric' repositories { jcenter() maven { url 'https://maven.fabric.io/public' } } android { ... } dependencies { ... compile('com.crashlytics.sdk.android:crashlytics:2.5.2@aar') { transitive = true; } }
i added api key in manifest (i added meta-data com.crashlytics.apikey, io.fabric.apikey).
i'm starting fabric in application class
fabric.with(this, new crashlytics());
the problem beta working (i can share, update, open app), answers working (sessions listed , everything), can log exception
crashlytics.logexception("test");
and non-fatal crashes added fabric dashboard.
but reason, no "fatal" crashes reported , sent fabric. can please me? reason? doing wrong?
btw - started happening after update crashlytics fabric. reinstalled plugin, deleted app , added again, tried without plugin android studio.
try add:
fabric.with(this, new crashlytics());
to application class, test crash report use:
crashlytics.getinstance().crash();
for report non-fatals use:
crashlytics.log("your log"); crashlytics.logexception(new throwable("this not-fatal name"));
Comments
Post a Comment