In the development of Android projects,Manifest.java and R.java are automatically generated. But it's very important for testing. After Master's coaching, I have a deeper understanding of Manifest.java and R.java .
Manifest.java automatically generates the property configuration of the reference package, which has the administrative role of permissions. The referenced package must declare the permissions to be used.
R.java is the index of the resource, which automatically identifies the resource index, which is equivalent to the resource dictionary, which contains the attributes, configurations, etc. of the referenced resources in the project.
In my opinion, Manifest.java and R.java are equivalent to log files, record the permissions and attributes of the referenced packages and resources, so that we can see the use.
Talking about the function of Manifest.java and R.java and each catalogue