*** cannot be resolved or is not a field

如果res中某个xml文件未找到,比如layout文件夹中创建了一个add.xml,在java文件中引用时未找到的话(出现cannot be resolved or is not a field),可以查看xml内容是否 正确。

原文地址:https://www.cnblogs.com/songwanzi/p/3766157.html