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 sugge开发者_运维问答stion 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:
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.
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.
精彩评论