I am trying to configure ACRA for the first time. I followed the basic installation guide:
1. Integrated the acra jar file into my application
2. Created a new class that extends the application class, and added the following code to it:
@ReportsCrashes(formKey = "", // will not be used mailTo = " mymailId@gmail.com ") public class MyApplication extends Application { @Override public void onCreate() { super.onCreate(); ACRA.init(this); } }
3.Remove all necessary changes to the manifest file
Everything seems to be done right, I can get below in logcat:
12-21 14:59:10.994: D/ACRA(28728): ACRA is enabled for com.android.demo.notepad1, intializing... 12-21 14:59:11.064: D/ACRA(28728): Using default Mail Report Fields 12-21 14:59:11.064: D/ACRA(28728): Looking for error files in /data/data/com.android.demo.notepad1/files 12-21 14:59:11.074: W/ACRA(28728): **com.android.demo.notepad1 reports will be sent by email (if accepted by user).**
But I can not get the mail :(!
source share