I am wondering about a warning I get in my strings.xml file.
The very first line:
<?xml version="1.0" encoding="utf-8"?>
has a warning indicator that says The resource R.string.hello appears to be.
unused
Why am I getting this error? No where in the code do I have ‘hello’ as confirmed by a simple grep for it.
NOTE: there is NO string of characters that spell out hello in the project. Not in the java files, not in the xml files, not any in any of the other files that grep would look at. That is why I am so confused by this warning.
Thanks
Had the same Problem. This string resource was nowhere to be found but yet still I had the error Message.
Solution:
Right click on your Project -> Android tools -> clear LINT markers worked for me!