错误提示:
error: Error: No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/tx_search_friend').
解决方法:
将
Android:layout_toLeftOf="@id/tx_search_friend"
改为:
android:layout_toLeftOf="@+id/tx_search_friend"
本文介绍了一种常见的Android布局资源找不到的问题及其解决方案。错误提示通常涉及未找到指定资源,通过修改引用资源的方式可以轻松解决该问题。
错误提示:
error: Error: No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/tx_search_friend').
解决方法:
将
Android:layout_toLeftOf="@id/tx_search_friend"
改为:
android:layout_toLeftOf="@+id/tx_search_friend"
2161
2万+
4909

被折叠的 条评论
为什么被折叠?