Resolves an android project under Eclipse cannot automatically generate a R.java file

Source: Internet
Author: User

Typically, the R.java file is generated automatically when the project is established. However, when you do development under eclipse, you occasionally encounter R.java files that cannot be generated automatically. Now it's time to solve the problem.

The version of the 1.eclipse ADT plugin does not correspond to the Android SDK version

The general problem arises here, as long as the ADT plugin and SDK are updated to the latest, restarting Eclipse is OK.

The red box has to be all install to the latest.

2.eclipse own problem (and you are uncomfortable, haha)

So you clean up your project, or use the Android tool to fix it. The R.java file is back.

(Original http://5181028.blog.51cto.com/5171028/1207885)

Resolves an android project under Eclipse cannot automatically generate a R.java file

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.