您的位置:首页 > 移动开发 > Android开发

android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a vi

2014-11-06 18:48 477 查看
子线程中不能修改界面信息,要用handler进行主线程和子线程之间的通讯,还有new Thread(new runable{ void run() }).start()不是run()方法!!切记!!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐