Android Development _ Create HelloWorld

Source: Internet
Author: User

1. Open Eclipse. File--->new--->project--->android application Project, and next.

Minimum Required SDK: Your program supports running Android system version minimum.

(Why I do not choose 2.0 or lower, due to the installation of ADT version 23.0.6, if the Min SDK selected 14 below, that is, 4.0 below the version, will appear appcompat_v7, do not understand this is what.) See this article for reference http://blog.chinaunix.net/uid-24709751-id-4571812.html)

Target SDK: The highest supported version.

(I chose here 4.4, do not know why, in the real Android 5.0 still can run, good strange)

Compile with: Which SDK version is used to compile. The host installs only the 4.0, 4.4, and 6.0 versions.

2. The default is always click on next (more details refer to the first chapter of Android code First), then right-click on the project run, select the device running, and then HelloWorld run up.

3. Problem Description: If a similar error occurs at run time.

Check that the Android SDK Build-tools version is too high. If version 24 is installed, you will need to install the jdk1.8 version.

Workaround: Uninstall the Android SDK Build-tools 24.0.1, and then install the lower version. can refer to http://blog.csdn.net/duguju/article/details/51727150

Android Development _ Create HelloWorld

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.