Eclpise Create an Android project and cannot automatically generate R files

Source: Internet
Author: User

First case

    1. Locate the project item on the Eclipse toolbar

    2. Click before Build automatically to make it in the √ state.

    3. Or just click on Build all (shortcut keyboard is ctrl+8)

The second case

Many people encounter the problem of cannot be resolved to a variable when they create a new project, they can't get the best solution in the first time.

The root cause is that the R.java file is not automatically generated

About the general solution on the Internet a lot of people have come up with this

such as clean engineering, clean up resource,android Tools >> Fix project Properties, etc.

But still some people see the online post still can't solve, then please note two points:

1. If you are updating the SDK, then shut down and restart Eclipse to

2. If not, update the full ADT, SDK

Eclpise Create an Android project and cannot automatically generate R files

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.