The problem is actually that the backtrace implementations use stdout/stderr which are just /dev/null on Android, so there's not much to do here. I guess I could use the Android logging function, but that lives in `libandroid.so`.