1、更新SDKandroid
國內Android鏡像:ubuntu
IPV4:mirrors.dormforce.netgoogle
IPV4:mirrors.opencas.ac.cn.net
IPV4:mirrors.neusoft.edu.cnorm
IPV4:ubuntu.buct.edu.cn blog
IPV4:ubuntu.buct.cn源碼
IPV6:ubuntu.buct6.edu.cnit
port:80cli
勾選 Force https://...im
2、更新Android源碼
支持 CM 和 AOSP:
運行 ping ad.doubleclick.net 獲得 IP 地址;
修改 hosts 文件,添加下面內容:
IP地址 googlesource.com
IP地址 android.googlesource.com
IP地址 gerrit.googlesource.com
例如:
rengh@Rengh-ThinkPad-T440p:~$ ping ad.doubleclick.net
PING dart.l.doubleclick.net (117.34.96.52) 56(84) bytes of data.
64 bytes from 117.34.96.52: icmp_seq=1 ttl=46 time=33.3 ms
64 bytes from 117.34.96.52: icmp_seq=2 ttl=46 time=29.4 ms
64 bytes from 117.34.96.52: icmp_seq=3 ttl=46 time=29.4 ms
64 bytes from 117.34.96.52: icmp_seq=4 ttl=46 time=32.0 ms
修改hosts文件,添加以下內容?:
117.34.96.52 googlesource.com117.34.96.52 android.googlesource.com117.34.96.52 gerrit.googlesource.com