"Android Learning 5" clean after R file is missing

Source: Internet
Author: User
Today accidentally clean, found that the resources of r files are not available, check the data found that they are not a teenager. The file name of the XML files contains an uppercase letter ( Why can't I include uppercase?). refer to the workaround as follows: First make sure that your SDK is new. Next, check your. xml file, and the file name cannot be capitalized. If there are too many XML files, then clean your project and watch the console prompt. Console will prompt you for an XML file error after you modify the XML file, clean your project, build your project R.java will re-appear or update the clean works after the R file disappears because there are errors in the layout file, Repair the error and rebuild the project to regenerate the correct R file

"Android Learning 5" clean after R file is missing

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.