No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/
16lz
2021-01-24
Error: No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/
history_child_item_unit').
出错原因:history_child_item_unit出现在这个textView之后。
解决方法:android:id="@+id/history_child_item_unit"
改为:android:id="@id/history_child_item_unit"
然后提前初始话id/history_child_item_unit
更多相关文章
- Gradle build报错Enable Gradle 'offline mode' and sync projec
- Android采用Linux内核的原因:
- android 模拟器访问本机http服务IP地址问题
- [Android] R.layout.main 找不到的问题
- Android常见错误汇总
- Android(安卓)studio 3 gradle配置问题
- TextView 富文本学习六 - 设置了ClickableSpan导致内存泄漏
- Fragment 中的onConfigurationChanged 在切换语言的情况下不被回
- Android(安卓)TextView自动换行文字排版参差不齐的原因