"Android Config" if your simulator does not generate the Hello World program

Source: Internet
Author: User
Tags android sdk manager

Reference CSDN Blog: http://m.blog.csdn.net/article/details?id=50763592

Finally, learning Guo Lin the Great God "first line of code", encountered some problems. is when configuring the Android environment, the discovery executes

(Ctrl + F11) Helloworldactivity.java, there was a problem like this. Even if the source code is wrong, the simulator

Naturally, the Hello World program is not generated.

Even if the import ANDROID.R deleted, it is useless, where the tinkering for a long time, and then finally found to be the problem of Helloworld/gen,

Is that the directory does not generate R.java files, and then try a lot of methods. What Project-clean, then Project-build Project

No, but fortunately later found the answer in CSDN, in fact, this time every time you open eclipse, it will also indicate that the SDK needs

Updated, but I was cheating on my own, not to the management of it.

Above said, is missing the Android SDK build-tools This file, only cause the Hello World/gen directory does not appear R.java,

So we open the SDK Manager, Window-android SDK Manager, download an Android SDK Build-tools, because the SDK

is frequently updated, so we choose a current version that is currently up-to-date.

If you can't download it, just like the previous one said, set Google image, open tools-option, press fill ...

"Android Config" if your simulator does not generate the Hello World program

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.