Android,加载离线Android API文档缓慢问题!

怀抱观古今,寝食展戏谑。这篇文章主要讲述Android,加载离线Android API文档缓慢问题!相关的知识,希望能为你提供帮助。
解决方法:在host文件末添加如下信息!
0.0.0.0 www.googleapis.com
0.0.0.0 www.google.com
0.0.0.0 www.google-analytics.com

步骤:进入 > > C:\Windows\System32\Drivers\etc\,找到host文件,将其复制到桌面以便进行修改(因为在该路径下修改的话不能直接保存,只能另存为,比较麻烦。所以干脆复制到桌面进行修改!),用记事本打开后,在文件末尾处添加以上三行,问题迎刃而解。
【Android,加载离线Android API文档缓慢问题!】 
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
 
#添加以下3行
0.0.0.0 www.googleapis.com
0.0.0.0 www.google.com
0.0.0.0 www.google-analytics.com












    推荐阅读