- 博客(10)
- 收藏
- 关注
原创 Only the original thread that created a view hierarchy can touch its views
bug记录: Only the original thread that created a view hierarchy can touch its views 翻译:只有创建这个view的线程才能操作这个view 在回调接口对UI进行该操作,将会出现上述提示 一般来讲,会使用handler解决该问题 在对应的回调接口来传递不同的消息,如: Message msg = new Message(); msg.what = 0; handler.sendMessage(msg); .
2021-01-08 09:20:04
230
原创 打包报错:Errors while building APK. You can find the errors in the ‘Messages‘ view
记录: Errors while building APK. You can find the errors in the 'Messages' view gradle添加: lintOptions { checkReleaseBuilds false abortOnError false }
2020-10-10 10:43:08
382
原创 Android 自定义简单的Dialog封装使用(DialogPlus)【记录.求教指正】
Dialogplus: 1.Dialogplus是一个非常简单易用的Dialog对话框控件; 2.Dialogplus是通过DecorView进行插入,是一个阻塞式的窗口; 3.Dialogplus是可定制的; 一个简单的dialog制作过程,才疏学浅,皮薄馅儿少,望指正: emmm..... 大概样子(摸鱼时间做的,丑的亚皮,大家可以自定义样子....QAQ) 第一步,添加依赖: 在[build.gradle(:app)]中添加: implementation 'com.orhano
2020-09-18 16:31:55
658
原创 问题记录:更新的坑
记录问题: 更新了到android4.0.1后老项目出现: Parameter specified as non-null is null: method com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$CreationAction., parameter baseName 这种错误; 解决方法: 修改gradle版本; 1. File > project Structure >.
2020-09-04 09:48:40
617
原创 记录问题
xutil中记录问题 HttpRequestBase为null Connection to http://47.104.8.200 refused 解决方案: gradle: useLibrary 'org.apache.http.legacy'
2019-09-28 16:18:36
102
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人