[Andriod] Add tooling for analysis core dump or ANR

There's no consistency in how `_error()` is called. Did you mean to set `error_code` to 1? If so, `abort` will always be True and it doesn't need to be a parameter.