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