I just found a way, you just need to specify null as a parameter instead of an Exception, for example:
ACRA.getErrorReporter().putCustomData("myKey", "myValue");
ACRA.getErrorReporter().handleException(null);
These two lines report this error:
java.lang.Exception: Report requested by developer
Composing the following data in the report:
{myKey:myValue}
source
share