08-24 16:59:11.223: W/System.err(31649): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
在出错的语句前面加上下列判断
if (Looper.myLooper()==null) {
Looper.prepare();
}
Looper.prepare()
猜你喜欢
转载自201206135726.iteye.com/blog/1662038
今日推荐
周排行