Can't Resolve Android Resource Strings
Solution 1:
Whenever you add something to a resource file and try to use it in another without saving it first, you will get an error.
The normal ctrl+s
just saves the file you're in, so compilation will occur without the changes in the other file.
Pressing ctrl-shift-s
saves changes in all open files (same as going to File -> Save All
).
Personally, I hit ctrl-shift-o
, ctrl-shift-f
and ctrl-shift-s
everytime I need to save some changes to organize the imports, format the code to fix indenting etc. and to save all changes.
Solution 2:
Looks like your R file is not generated correctly. Can you look at the build errors(if any) by eclipse. If not verify your R file is generated correctly and the entry titleStatus is in it
Solution 3:
I had the same problem in Android Studio. Select: File -->> Invalidate Caches/Restart. Solved it for me!
Post a Comment for "Can't Resolve Android Resource Strings"