The Android Application “R file” disappears
In fact, Android maintains this public final class R class mainly with new resource files. This r.java does not need to be modified by ourselves. If you don't understand it, don't modify it. Each resource value defined by it is unique and will not conflict with the system. This file is automatically updated by ADT plug-in. When you edit the res file and save it, this class will be automatically updated.
R. Java generally has attr, drawable, ID, raw, layout, string and XML, depending on the resources used in your project. When the r.java file is lost, it needs to be rebuilt, but there may be some problems, such as the resources cannot be updated automatically.
solve
Through this article, I hope to help you find the R file. Thank you for your support to this site!