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.

Email not working?

See original GitHub issue

I just added ACRA to our project and placed some invalid code in startup to make it crash. I added ACRA’s “Toast” component and the “Email” component. The toast message shows, however no email is ever sent. I check the debugger and it says something like unable to start service Intent {AttachmentService} not found. I followed the directions in the wiki: any idea what I am doing wrong? I’m on an Android Pixel device and the AndroidManifest has the INTERNET user permission set, if that helps.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

Sean-Brown-Digicommented, Nov 29, 2018

That’s really good to know and you are right, I put the crash in onCreate() and ACRA handled it correctly. Previously I put the crash code in attachBaseContext() and I would only see the toast message but not get any email dialog.

EDIT: I take that back, putting the crash in onCreate() only shows the toast message, but no email dialog.

F43nd1rcommented, Nov 29, 2018

I put the crash code later in the program’s execution and it opens the email program properly

Good to know that it works.

during my testing I put in code which caused the app to crash right after ACRA.init()

Acra will retry to send reports on the next launch. Which means unless the application start crashes every time, reports will reach you eventually. If the application start crashes every time, there is no way to get the report out anyway.

I assume because the MainApplication wasn’t fully created before the crash

Acra might even be able to catch crashes in Application.onCreate, but I’m not sure on this. It will catch crashes in Activity/Service startup, where initialization of your app should be.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to do when my email doesn't work? - SiteGround KB
There are many reasons why email may stop working (incorrect email settings, wrong email passwords, etc.), however, the first step to identify the...
Read more >
How to fix your emails if they stop working - BuzzPoint
Restart your device. It may just be the case that your emails have gotten stuck and a restart can usually help reset things...
Read more >
If you can't receive email on your iPhone, iPad, or iPod touch
Contact your email provider or check their status webpage to see if there's a service outage. · Ask your email provider or system...
Read more >
How to Fix Email Not Working in Windows Mail -'s
How to Fix Email Not Working in Windows Mail ; 1 Make Sure I'm Connected to the Net ; 2 Check for Updates...
Read more >
Can't send or receive email in - Microsoft Support
If you can't send or receive email, check your account: update your password if it's been changed recently. · If an email is...
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