Looper.prepare(); Toast.makeText(getActivity(), "之前加 Looper.prepare(),之后加Looper.loop();", Toast.LENGTH_SHORT) .show(); Looper.loop();