![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题记录
文章平均质量分 86
胡飞洋
公众号:胡飞洋, 爱打篮球、带看电影的Android开发者。
展开
-
Binary XML file line #: Error inflating class <unknown> --- android:background="@color/divider"
问题点:布局如下: <View android:layout_width="0.5dp" android:layout_height="42dp" android:layout_centerVertical="true" android:layout_marginLeft="120dp" android:background="@color/divider" /&g原创 2020-05-12 17:41:23 · 659 阅读 · 0 评论 -
升级Glide4.x的问题汇总
错误信息:W/Glide:Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotat...原创 2020-05-07 13:32:41 · 7286 阅读 · 0 评论 -
使用BaseMultiItemQuickAdapter遇到的crash:Resources$NotFoundException: Resource ID #0xfffffe6c
信息如下: android.content.res.Resources$NotFoundException: Resource ID #0xfffffe6c at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:201) at android.content.res.MiuiRe...原创 2019-03-01 11:32:36 · 1460 阅读 · 0 评论 -
问题解决:Unable to resolve dependency for ':app@common/compileClasspath': Could not resolve project :XXX
一、问题现象编译报错如上。二、问题原因:查看依赖的本地module的build.gradle如下。所以原因:主工程的buildTypes有多个类型,而module只有release,无法匹配。三、解决方案: 主工程 APP的 build.gradle ,其中的 buildTypes {} 中的节点 完整的拷贝到你的module库的 build.gradle 文件中即可。...原创 2019-06-28 15:22:51 · 2311 阅读 · 0 评论 -
加载xml时InvocationTargetException异常
android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class io.silvrr.installment.common.view.ArcView Caused by: android.view.InflateException: Binary ...原创 2019-09-26 18:05:32 · 3837 阅读 · 0 评论 -
嵌套滑动--NestedScroll-项目实例(淘宝首页缺陷),及CoordinatorLayout 和 AppbarLayout 联动原理
目录一、项目实例--电商首页二、CoordinatorLayout 和 AppbarLayout 联动原理刚复习完View事件分发、滑动冲突--《Android开发艺术探索》阅读笔记——第三章part2,接着想起前段时间项目中首页重构,遇到的嵌套滑动问题,以及CoordinatorLayout 和 AppbarLayout 联动原理。去学习了下先关知识。在此记录一下,备忘~学...原创 2019-10-04 17:29:09 · 5064 阅读 · 3 评论