To Android: (i) Android development environment configuration

Source: Internet
Author: User
Tags microsoft c

As a developer of Microsoft C #, it's really not easy to develop Android.

Because you are accustomed to the unprecedented friendly development environment of Visual Studio, there is a great reluctance to configure eclipse!

But no matter what, as long as your curiosity about Android is still there, you can't reject eclipse, just as C # does without Visual Studio.


The preface is not continued, but the book belongs to the story.

Running eclipse of course to configure the Java environment, the configuration of the Java environment, relative or relatively simple, the University of the language is Java, remember that the jbuild or free of charge available

But then the eclipse of the world, I remember the class teacher also gave me the development environment of Eclipse, but at that time because the play heart too heavy, not to take seriously ... It's all about tears.

The following is a brief introduction to Java configuration:

1, install JDK, configure environment variables, install JDK when the path name can not appear in the space

① Set the JAVA_HOME environment variable, point to the JDK folder, such as: Java\jdk1.8.0_11;

② set Classpath, point to%java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

③ settings Jre_home, point to the JRE folder under the JDK, such as: Java\jdk1.8.0_31\jre, (used when configuring Tomcat, some materials said no, but my environment department set the variable, reported jre_home not found)

④ set Path parameter,%java_home%\bin;%java_home%\jre\bin;

⑤ Verify that the JDK is installed successfully, run DOS as administrator, enter java–version to view the version of the JDK


Below goes the Android theme, my Eclispe version is Luna Service release 1a (4.4.1)

The installation of ADT is a more troubling thing, because the celestial site of Google to Harmony, (there are also said to configure the host, but after the test or not) if you want to successfully install ADT or download, use local resources to install.

RSE and CDT need to be installed prior to installation of ADT or error during installation

Res: http://download.eclipse.org/tm/downloads/drops/R-3.4-201205300905

Select Download: Rse-runtime-3.4.zip

Rse-sdk-3.4.zip

Installation method: The two compressed package is extracted separately, the corresponding will appear features and plugins two folders, the two folders of all the things are copied to the Eclipse features and plugins folder, repeat can be skipped. After rebooting, you can install the CDT.

Download path for CDT: http://www.eclipse.org/cdt/downloads.php

Select Download: CDT8.5.0 for Eclipse Luna under Cdt-8.5.0.zip

Installation method: Eclipse–help–install New software, click on the work with item after the Add, click on the location behind the archive Select Cdt-8.5.0.zip storage path, installation can.

Installing ADT is similar to installing the CDT

Download path for ADT: http://developer.android.com/sdk/eclipse-adt.html

The ADT installation package will be downloaded directly in the browser (adt-22.0.3.zip when I download)

Installation method: Eclipse–help–install New software, click on the work with item after the Add, click on the location behind the archive Select Adt-22.0.3.zip storage path, installation can.

The Android development environment has been built!



To Android: (i) Android development environment configuration

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.