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