android build exit status and noReset fixes