Use eclipse to create an android Program

Source: Internet
Author: User

To compile an android program, you must install JDK, eclipse, and Android SDK.

The installation path of the android SDK should not be in program file or program file (x86); otherwise, it will be very strange during debugging. It is best to directly put it in c: \ android. (If you want to put it under program files, you can also configure the adroid SDK path in eclipse by using "C: \ progra ~ 1 \ Android \").

 

Tools/Raw Materials
  • Install JDK, eclipse, and Android SDK

Method/step
  1.  

    Open eclipse's help-> install new software

  2.  

    Add address: https://dl-ssl.google.com/android/eclipse/ in the work with Column

  3.  

    Configure the android SDK path: open window> preferences

  4.  

    Enter the address of the andorid SDK:

  5.  

    Note the buttons on the toolbar:

  6.  

    Click the first button and select the SDK version to be installed:

  7.  

    I have installed two versions: 3.2 and 2.3.3.

  8.  

    Then you can click the second button to create an android project:

  9.  

    The following code is automatically generated:

  10.  

    Right-click the project and select Debug:

  11.  

    Wait a long time...

  12.  

    Android loaded:

  13.  

    Click "menu" to enter the program we wrote:

Reference http://tarena3g.com.cn/3g_android.html
Related Article

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.