出现
Can't create handler inside thread that has not called Looper.prepare() 的原因是没在主线程 实例化new Handler(),如果在非主线程实例化可以
Looper.prepare(); Handler handler = new Handler();Looper.loop();或者Handler handler = new Handler(Looper.getMainLooper());