Android Development Tutorial-Build a development environment

Source: Internet
Author: User

Download two packages first

1. Download SDK:http://dl.google.com/android/installer_r24.0.2-windows.exe

If the browser is not accessible,

Copy the above address to the Thunder above (new download Task) can be downloaded, about 80 m-like.

2.JDK Downloads:http://docs.oracle.com/javase/8/docs/

Download the JDK package for the system you are using

Install the JDK first

Then install the SDK


Launch SDK Manager

In the bottom right corner of the log, you can see:

Fetching Https://dl-ssl.google.com/android/repository/addons_list-2.xml

Fetched add-ons List successfully

Fetching Url:https://dl-ssl.google.com/android/repository/repository-8.xml

Done loading packages.

Fetching Https://dl-ssl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, Reason:

Connection to Https://dl-ssl.google.com refused

Fetched add-ons List successfully

Fetching Url:https://dl-ssl.google.com/android/repository/repository-8.xml

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-8.xml, Reason:httphostconnect Connection To Https://dl-ssl.google.com refused

Done loading packages.


It seems that because you can't access Google

The solution is as follows:

Solve the difficulties of accessing Google servers in China:
1. Launch Android SDK Manager;

2. Open the main interface, select "tools", "options...", pop up the "Android SDK manager–settings" window;

3. In the "Android SDK manager–settings" window,

Fill in mirrors.neusoft.edu.cn and 80 in the "http proxy server" and "http proxy port" input boxes, and select "force https://... sources to be fetched using HT tp://..."check box;

4. Click the "close" button to close the "Android SDK manager–settings" window and return to the main screen after the setup is complete.

5. Select "packages", "reload".

This article references


Android Development Tutorial-Build a 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.