I'm trying to have a debug formKey:
@ReportsCrashes(formKey = "
<production key>")
public class JCApplication extends Application
@Override
public void onCreate() {
super.onCreate();
// The following line triggers the initialization of ACRA
ACRA.init(this);
if (Utils.isDebugBuild(getApplicationContext())) {
ACRAConfiguration ac = ACRA.getConfig();
ac.setFormKey(getString(R.string.
debug_form_key));
}
}
so the dev log doesn't mix with production!
p.s. seems that BuildConfig.DEBUG generation had some problems...
http://code.google.com/p/android/issues/detail?id=27940but seems fixed from adt r20
Status:
Released Target-r20
Stefano