How to configure the android Development Environment

Source: Internet
Author: User

There are a lot of online tutorials, mainly to talk about the situation I encountered. At first I downloaded eclipse 4.2.1, adt00000.3, and jdk6 myself, but during the ADT installation process, errors are often reported, but the specific errors are hard to remember. Some package files are missing, which is very troublesome. Later, I found that the android SDK website directly provided a collection package, including eclipse and SDK integrated with ADT, but note that there are 32-bit and 64-bit versions, you also need to download the corresponding JDK version.

Note: It is best to put the decompressed directories under the English directory, so it is not easy to have strange problems.

Android ADT integration package

Http://developer.android.com/sdk/index.html

JDK

Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

I didn't use the SDK in the integration package. I downloaded another SDK, which is the installation package version.

Http://developer.android.com/sdk/index.html#download

After the download is complete, start the SDK manager first. Because it is well known that there are restrictions on Google in China, SDK manager is often used and cannot be updated online. In tools → options, set the proxy server, the proxy server can be searched in proxy China. Try to find the server in China. Hong Kong is the best. If one server cannot be connected for half a day, consider another one, you can also check force HTTPS .... this item.

Configure the environment variables and add the tools directory and platform-tools under the SDK installation directory to the environment variables.

For example

C: \ Program Files (x86) \ Android-SDK \ tools; C: \ Program Files (x86) \ Android-SDK \ platform-Tools

Install JDK and configure Environment Variables

Add java_home: C: \ Program Files \ Java \ jdk1.7.0 _ 10

Add classpath: C: \ Program Files \ Java \ jdk1.7.0 _ 10 \ JRE \ Lib

Start eclipse.

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.