Android development tutorial, Android tutorial

Source: Internet
Author: User
Tags android sdk manager

Android development tutorial, Android tutorial

First download two software packages

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

If the browser cannot be accessed,

Copy the above address to thunder (create a download task) to download it, which is about 80 Mb.

2. Download JDK:Http://www.oracle.com/technetwork/java/javase/downloads/index.html

Download the JDK package corresponding to your system

First install JDK

Then install the SDK


Start SDk Manager

Log is displayed in the bottom right corner:

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 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 google cannot be accessed.

The solution is as follows:

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

2. Open the main interface and select "Tools" and "Options ...」, The "Android SDK Manager-Settings" window is displayed;

3. In the "Android SDK Manager-Settings" window,

Enter 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 http ://...」 Check box;

4. Click Close to Close the Android SDK Manager-Settings window and return to the main interface;

5. Select Packages and Reload 」.

Reference


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.