Android Studio - Android SDK download

Android SDK- own download

==============
(1)
Find can ping dl.google.com domestic ip, ip domain name to the converted
input test site
http://ping.chinaz.com/
View delay smallest ip
own view is
203.208.41.38
in E: \ below to create a new hosts file, the content is
203.208.41.38 dl.google.com
then copy the cover
C: \ Windows \ System32 \ drivers \ etc
because the system hosts file is not allowed to be opened directly modified, so take alternative method to modify

Reference
Dynamic Solution on "Android SDK manager does not appear in the full version of Android installation package list" of
https://blog.csdn.net/velicent/article/details/21372675

1. Copy the path to the desktop (because the hosts file is a system, is not allowed to be opened directly modified, so take alternative method to modify).
2, (resulting dynamic) for available ip addresses are mapped to the dl-ssl.google.com. (From Baidu experience method)

 

Reference
http://ping.chinaz.com


Reference
Download Android SDK in Android Studio in two ways (Studio3.0 Android, Windows)
https://www.cnblogs.com/senior-engineer/p/11130757.html


(2)
reopen Manager SDK
Android Studio - Tools - SDK Manager
or
Android Studio Toolbar - SDK Manager

(3)
Mac under modify the hosts file


Reference - I was miserable open this article to modify
how the Mac to edit the hosts file
https://jingyan.baidu.com/article/f3ad7d0f55154309c3345bdd.html


Reference
Mac modify the hosts file (three ways) 2018-05-03
https://www.jianshu.com/p/3d4bdf180bd6

Native environment

OS 10.13.3 mac
1. terminal change (the test fails, the last wq can not be modified, insufficient privileges)

Open program which terminal (terminal), an input
sudo vi / etc / hosts
and system password prompt
hosts file is automatically opened
and then input i
to enter the edit mode
site will be added, ip copy into
after editing, press ESC, enter: wq (colon also)
2. directly modify local files (successful, need to copy modified after replacement back)

Open the finder, choose to go inside the Go To Folder (shortcut shift + command + g)
In the pop-up box enter etc and then on to the etc directory, locate the hosts file, open (with a text editor), copied or edited, after the completion of preservation can be.
there may not be prompted to save, because the rights issue. Introduction open the hosts file, which has authority and share a column, click on the bottom right corner of the lock, you can change the permissions password. your own user permissions changed to read and write on the line.
If you are prompted permissions problem, you should modify the parent directory permissions etc and two private folders, and the same methods are changed to read and write.
after the hosts file is saved to complete the authority to change it back it.
3. start the root account directly change (to be attempts)
* recommended (fail)

Open a terminal, enter: sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit / etc / hosts hosts can intuitively modify the text editor.

From three ways to change the HOSTS file in MAC OS X

Author: On the child's private land
link: https: //www.jianshu.com/p/3d4bdf180bd6
Source: Jane books
are copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Published 80 original articles · won praise 38 · views 40000 +

Guess you like

Origin blog.csdn.net/kuangben2000/article/details/104514372