Omar
Omar

Reputation: 8145

Android ACRA not reporting crashes

I'm trying to import ACRA to my Android app but it's not reporting force closes. I followed the guide but still it doesn't report the crashes. Any suggestion why? xml:

 <CheckBoxPreference android:key="acra.enable"
        android:title="@string/pref_disable_acra"
        android:summaryOn="@string/pref_acra_enabled"
        android:summaryOff="@string/pref_acra_disabled"
        android:defaultValue="true"/>

Preference class:

public class Preferences extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        addPreferencesFromResource(R.layout.preferences);

     }
}

Here is a picture while enabling/disabling the checkbox: enter image description here

Upvotes: 0

Views: 2967

Answers (2)

xDragonZ
xDragonZ

Reputation: 12682

Make sure that you have include the ACRA into manisfest too and the allow internet permission .

Try don't use notification crash report, still buggy, try only use toast show crash method. Also make sure that your apps does not crash before the ACRA loaded.

And at last check your form key and make sure that you have make the form in the Google docs and enable ur ARCA.

Upvotes: 4

Nikolay Elenkov
Nikolay Elenkov

Reputation: 52966

Make sure the formKey parameter is correct, and set the mode to TOAST to actually see when a report is being sent. If you are not connected to the Internet, reports will be sent when you connect.

Upvotes: 1

Related Questions