Eclipse Configuring the Android development environment

Source: Internet
Author: User

1. Installing the JDK (Java Development toolset)

Address: http://www.oracle.com/technetwork/java/javase/downloads/index.html

Note: The JDK contains the JRE and can be downloaded without having to download the JRE repeatedly


Configuring the JDK environment variable: path:c:\program files\java\jdk1.6.0\bin;

Java_home:c:\program files\java\jdk1.6.0


2, install Eclipse

Address: Www.eclipse.org/downloads


3. Online installation of ADT (Android development tool)

Open Eclipse, click on the menu bar Help, select Install New software

Input: Http://dl-ssl.google.com/android/eclipse, select Developer Tools


4. Install the Android SDK

Address: http://developer.android.com

Configure environment variables; Path:c:\program Files\android-sdk-windows\tools


5. Add SDK Path

Open Eclipse, click Windows in the menu bar, select Preferences->andorid->browse, then select the path of the SDK installation


Problems encountered at a later stage:

1. Open SDK Manager cannot download all installation packages

Workaround:

1. Android SDK manager->tools->options tick force https://.....sources to be fetched using http://.

2. Locate the C:\Windows\System32\drivers\etc with Notepad to open the hosts at the bottom of the

#google-android Update

203.208.46.146 dl.google.com

203.208.46.146 dl-ssl.google.com

3. Reopen Android SDK Manager, select Packages, continue to select reload


2. Duplicate location hint appears

Method: Windows->preferences->install/update Available softwares to delete duplicate URLs


Eclipse Configuring the Android development environment

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.