I've been referencing a lot of ways to download the Android SDK-related configuration in Eclipse, but none of them are completely compliant, so I'll share my configuration:
(1) Locate the following directory:C:\Windows\System32\drivers\etc\, open the Hosts file with Notepad , such as:
Insert the contents of the red box, as below,
127.0.0.1 localhost
:: 1 localhost
(2) Open the Android SDK Managerin the Window option in the Eclipse menu, such as:
you can see the packages and
Tools two options in the
upper-left menu of the diagram. (3) Open Android SDK Manager--Tools--Options, the
Android SDK Manager-settings interface appears, such as;
3 Settings in the interface. (fill in the server address + fill in Port + tick force HTTPS) (4) After setting, select
close to close the Android SDK Manager-settings interface, the Android SDK Manager interface will display the relevant
Android API, Select the download, and if the API is not displayed, you can close and restart Eclipse test.
another:newly installed eclipse to configure the Android SDK directory, in Eclipse window---preference interface, click on Android, on the right there is an SDK location, fill in the directory of the SDK.
Workarounds for Android SDK Manager in eclipse that cannot be downloaded