I am creating an Android app and while extracting the String resources for all the Strings, I am getting an error.
So I thought about it and figured out that we are getting the String by accessing the R
file and when I checked app > build > generated > source >
, the R
file was missing. I also have checked the string.xml
file and the String is also getting created over there, hence I thought the issue is with the R
file.
For example, while converting the String Date of birth
:
getString(R.string.dob);
It says that dob
symbol is not resolvable even though I extracted its (Date of Birth) String resource and had the resource named to dob
.