Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implementing your own sender

See original GitHub issue

I write my own implementation base on this page : ACRA Document this is what i do but not work in debug and Logcat why? plz help

@AcraCore(reportSenderFactoryClasses = YourOwnSenderfactory.class)
public class MyApplication extends Application {
    protected void attachBaseContext(Context base) {

public class YourOwnSender implements ReportSender {
    public void send(Context context, CrashReportData report) throws ReportSenderException {
        Log.e("logerrr", "testttttt");
public class YourOwnSenderfactory implements ReportSenderFactory {
    public ReportSender create(@NonNull Context context, @NonNull CoreConfiguration config) {
        return null;
    public boolean enabled(@NonNull CoreConfiguration config) {
        return false;

build.gradle file

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "app.vahid.testlogsender"
        minSdkVersion 17
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner ""
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), ''
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation ''
    implementation "ch.acra:acra-toast:5.1.3"
    implementation "ch.acra:acra-core:5.1.3"
    implementation ''

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

F43nd1rcommented, Jul 1, 2018

Senders run in a separate process. To debug them you have to attach the debugger to that process.

F43nd1rcommented, Aug 9, 2018

Do you mean ch.acra:acra:4.11?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Senders - ACRA
You can implement your own ReportSender and configure ACRA to use that instead of or in addition to other senders. Kotlin; Java. class...
Read more >
How to develop a Transport Connector Sender
In this document we are going to show you how to develop your own custom Connector Sender. With that said, we recommend you...
Read more >
Custom SMS sender Lambda trigger - Amazon Cognito
Amazon Cognito sends SMS message events as requests to a Lambda function. The custom code of your function must then process and deliver...
Read more >
ACRA email sender - android - Stack Overflow
I found the problem, the 5.5.0 release of ACRA not work for me, I changed it to: implementation "ch.acra:acra-mail:5.4.0" implementation ...
Read more >
How to Set up SMTP for a Form - Jotform
You're done with the custom sender email setup. Now, select the newly added custom sender email in the Emails setting of your form....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found