Skip to content Skip to sidebar Skip to footer

R.java File Is Missing/not Generated In Android Studio

I am learning how to develop apps. I couldn't find any R directory inside build>generated. I tried with other stack overflow answer of this same issue and tried clean project an

Solution 1:

enter image description here

This is caused by Android Gradle Plugin generating R class bytecode directly, instead of .java files.

So there isn't any R.java file being generated and if you need information about the R class, you can have a look at the class bytecode by following the steps described in this answer.

Post a Comment for "R.java File Is Missing/not Generated In Android Studio"