Android 中异常:Can’t toast on a thread that has not called Looper.prepare()
1.原因:子线程直接弹Toast
2.解决:
Looper.prepare();
Toast.makeText(MainActivity.this, "信息", Toast.LENGTH_SHORT).show();
Looper.loop();