标签:create util gen not 报错 main span 处理 oop
解决方法,在ui线程里面创建handler
m_MainActivity.runOnUiThread(new Runnable(){ @Override public void run() { // TODO Auto-generated method stub GameBoxUtil.startPay(m_MainActivity,String.valueOf(amount), productName, payCode,orderId,payHandler); }});
Android handler 报错处理Can't create handler inside thread that has not called Looper.prepare()
标签:create util gen not 报错 main span 处理 oop
原文地址:http://www.cnblogs.com/caimuqing/p/6842261.html