参考 https://blog.csdn.net/sunhuaqiang1/article/details/46839045
Looper.prepare();Toast.makeText(MainActivity.this, e.getMessage(), Toast.LENGTH_SHORT).show();Looper.loop();