android - resolve of scanning 无法解析或不是字段

标签 android

嗨,我想做一个来自谷歌的名为 bluetoothChat 的教程,但我得到了这种错误:

scanning无法解析或者不是field-for line-setTitle(R.string.scanning);

id cannot be resolved or is not a field -for line-findViewById(R.id.title_new_devices).setVisibility(View.VISIBLE);

我该如何解决这种错误

感谢帮助

最佳答案

此错误意味着您的链接资源无法在 xml 文件中找到。

你看过res-folder吗?项目的?

关于android - resolve of scanning 无法解析或不是字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5126638/

相关文章:

java - 从另一个类访问最终变量并正确输出结果

android - 如何突出显示选定的 gridview 项目

java - 为什么我的 android openGL ES 测试渲染器崩溃

android - 为什么在使用 OpenSSL 的 Android NDK 中 SHA512 计算错误

java - Android Studio gradle版本错误

android - react native : Update app layout after the keyboard is shown

java - 将 HTTPOnly cookie 与 android 中的其他 cookie 区分开来

android - 使用自签名 SSL 证书时出现 SSLPeerUnverifiedException

android - 从 Android 提交到 Google 表单?

java - 我如何允许在 android 中搜索也适用于字符重音?