Talking about the function of Manifest.java and R.java and each catalogue

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.