R.Java not found

Hi everyone,

I can not find R.java in my android app. Thus when I call R.id anything, I generate an error. I tried to rebuild and run clean, however, it has not worked. I would love it if someone can help me figure out the error.

As the beginners, we do not give a shit to R.java

Hey, sorry for the slow response.

If you can’t access anything in the R class, that’s a sign that there is something wrong with an XML file in your project. Do you see any build errors when you try to run it? Can you share these error messages?

R.java is missing implicate that your resource folder is having some issues. please try to look at your resource files(layout,drawable etc). and after that clean the project. it will solve the problem for sure.

Ethan Stark