![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
problems
菜鸟码农阿庆
个人站点:amarantos-blog.cn
展开
-
解决Only the original thread that created a view hierarchy can touch its views
Only the original thread that created a view hierarchy can touch its views出现原因:回调接口在子线程,并在回调接口对UI进行了操作所以,将会出现上述提示一般来讲,会使用handle解决这个问题在对应的回调接口根据网络请求返回的数据来传递不同的消息handler.sendMessage(msg);再根据消息的内容...原创 2020-04-16 17:55:13 · 30382 阅读 · 4 评论 -
Android开发中为什么有些变量会以m开头
m变量开头转载 2017-08-27 18:28:06 · 1964 阅读 · 1 评论 -
Android Studio运行出现Unknown run configuration type AndroidRunConfigurationType解决方案
好几天没有打开Androidstudio,今天打开一看创建工程竟然出错,应该是bug,索性上网查了查解决了。机器人app哪里出现了❌,点击运行弹窗提示“Unknown run configuration type AndroidRunConfigurationType”,细心的朋友会发现AS在左下角有提示,意思是说AS有一些插件被禁用解决方法也很简单:打开File/setting/plugin...转载 2019-06-18 21:07:32 · 844 阅读 · 0 评论