子线程中使用Toast Looper.prepare(); Toast.makeText(getApplicationContext(), "下载失败", 0).show(); Looper.loop();