android sdk 更新

简介: 引用:http://blog.csdn.net/wawxf2008/article/details/8054943 Eclipse输出错误reason: Connection to https://dl-ssl.

引用:http://blog.csdn.net/wawxf2008/article/details/8054943

Eclipse输出错误reason: Connection to https://dl-ssl.google.com refused
估计这又是伟大GFW的功劳,我们只需要配置一下hosts文件,在文件的末尾添加下面一句:
74.125.237.1 dl-ssl.google.com


windows系统中hosts文件的位置为:C:\Windows\System32\drivers\etc ,找到该文件并已文本形式打开,添加上面一句话,保存之后关闭,重启Eclipse打开Android SDK Manager,ok!

把如下的内容复制保存为hosts,然后替换掉 C:\Windows\System32\drivers\etc\目录下的 hosts,就可以方便的使用google.com啦

 

203.208.46.1   plus.google.com
 
203.208.46.1   accounts.google.com
 
203.208.46.1   picasaweb.google.com
 
203.208.46.1   lh1.ggpht.com
 
203.208.46.1   lh2.ggpht.com
 
203.208.46.1   lh3.ggpht.com
 
203.208.46.1   lh4.ggpht.com
 
203.208.46.1   lh5.ggpht.com
 
203.208.46.1   lh6.ggpht.com
 
203.208.46.1   lh6.googleusercontent.com
 
203.208.46.1   lh5.googleusercontent.com
 
203.208.46.1   lh4.googleusercontent.com
 
203.208.46.1   lh3.googleusercontent.com
 
203.208.46.1   lh2.googleusercontent.com
 
203.208.46.1   lh1.googleusercontent.com
 
203.208.46.1   talkgadget.google.com
 
203.208.46.1   profiles.google.com
 
203.208.46.1   webcache.googleusercontent.com
 
203.208.46.1   sites.google.com
 
203.208.46.1   mail.google.com
 
203.208.46.1   www.google.com.hk
 
203.208.46.1   www.google.com
 
203.208.46.1   news.google.com
 
203.208.46.1   code.google.com
 
203.208.46.1   docs.google.com
 
203.208.46.1   services.google.com
 
203.208.46.1   clients4.google.com
 
203.208.46.1   clients2.google.com
 
203.208.46.1   chrome.google.com
 
203.208.46.1   tools.google.com
 
203.208.46.1   sites.google.com
 
203.208.46.1   accounts.google.com
 
209.85.229.18  reader.google.com
--------------------------------------------------------
 
#Google+ Hosts IP
 
74.125.237.1 plus.google.com
 
74.125.237.1 plus.google.com.hk
 
74.125.237.1 talkgadget.google.com
 
74.125.237.1 picasaweb.google.com
 
74.125.237.1 lh1.ggpht.com
 
74.125.237.1 lh2.ggpht.com
 
74.125.237.1 lh3.ggpht.com
 
74.125.237.1 lh4.ggpht.com
 
74.125.237.1 lh5.ggpht.com
 
74.125.237.1 lh6.ggpht.com
 
74.125.237.1 lh6.googleusercontent.com
 
74.125.237.1 lh5.googleusercontent.com
 
74.125.237.1 lh4.googleusercontent.com
 
74.125.237.1 lh3.googleusercontent.com
 
74.125.237.1 lh2.googleusercontent.com
 
74.125.237.1 lh1.googleusercontent.com
 
##Chrome 网上应用店
 
74.125.237.1 chrome.google.com
 
74.125.237.1 clients0.google.com
 
74.125.237.1 clients1.google.com
 
74.125.237.1 clients2.google.com
 
74.125.237.1 clients3.google.com
 
74.125.237.1 clients4.google.com
 
74.125.237.1 www.googleusercontent.com
 
74.125.237.1 lh0.googleusercontent.com
 
74.125.237.1 lh1.googleusercontent.com
 
74.125.237.1 lh2.googleusercontent.com
 
74.125.237.1 lh3.googleusercontent.com
 
74.125.237.1 lh4.googleusercontent.com
 
74.125.237.1 lh5.googleusercontent.com
 
74.125.237.1 lh6.googleusercontent.com
 
74.125.237.1 clients1.googleusercontent.com
 
74.125.237.1 clients2.googleusercontent.com
 
##网页快照
 
68.68.107.69 webcache.googleusercontent.com
 
##Google SSL
 
74.125.237.1 encrypted.google.com
 
74.125.237.1 encrypted.google.com.hk
 
##Google Docs
 
74.125.237.1 docs.google.com
 
74.125.237.1 docs0.google.com
 
74.125.237.1 docs1.google.com
 
74.125.237.1 docs2.google.com
 
74.125.237.1 docs3.google.com
 
74.125.237.1 spreadsheets.google.com
 
74.125.237.1 spreadsheets0.google.com
 
74.125.237.1 spreadsheets1.google.com
 
74.125.237.1 spreadsheets2.google.com
 
74.125.237.1 spreadsheets3.google.com
 
#Gmail
 
74.125.237.1 mail.google.com
 
74.125.237.1 chatenabled.mail.google.com        #Gmail中Gtalk聊天服务
 
##Google 搜索
 
74.125.237.1 www.google.com
 
##Google preview
 
74.125.237.1 www.googlepreview.com
 
##Google 翻译
 
74.125.237.1 translate.google.com
 
74.125.237.1 translate.googleapis.com
 
##Google 搜索建议(IE9)
 
74.125.237.1 clients5.google.com
 
##Google code
 
74.125.237.1 code.google.com
 
##Picasa 网络相册
 
74.125.237.1 picasaweb.google.com
 
74.125.237.1 lh0.ggpht.com
 
74.125.237.1 lh1.ggpht.com
 
74.125.237.1 lh2.ggpht.com
 
74.125.237.1 lh3.ggpht.com
 
74.125.237.1 lh4.ggpht.com
 
74.125.237.1 lh5.ggpht.com
 
74.125.237.1 lh6.ggpht.com
 
74.125.237.1 lh7.ggpht.com
 
74.125.237.1 lh8.ggpht.com
 
74.125.237.1 lh8.ggpht.com
 
74.125.237.1 lh9.ggpht.com
 
74.125.237.1 lh6.google.com
 
##Google 个人资料
 
74.125.237.1 profiles.google.com
 
74.125.237.1 browsersync.google.com
 
##Google+
 
74.125.237.1 talkgadget.google.com
##Google+中的聊天服务
 
74.125.237.1 ssl.gstatic.com
 
74.125.237.1 images-pos-opensocial.googleusercontent.com
 
74.125.237.1 images1-focus-opensocial.googleusercontent.com
 
74.125.237.1 images2-focus-opensocial.googleusercontent.com
 
74.125.237.1 images3-focus-opensocial.googleusercontent.com
 
74.125.237.1 images4-focus-opensocial.googleusercontent.com
 
74.125.237.1 images5-focus-opensocial.googleusercontent.com
 
74.125.237.1 images6-focus-opensocial.googleusercontent.com
 
74.125.237.1 plus.google.com
 
##Download 下载
 
74.125.237.1 dl.google.com
 
74.125.237.1 dl-ssl.google.com
 
##Groups
 
74.125.237.1 groups.google.com
 
##Google URL Shortener
 
74.125.237.1 goo.gl
 
##Google app engine
 
74.125.237.1 appengine.google.com
相关文章
|
2月前
|
JavaScript 前端开发 Java
[Android][Framework]系统jar包,sdk的制作及引用
[Android][Framework]系统jar包,sdk的制作及引用
46 0
|
2月前
|
开发工具 Android开发
解决Android运行出现NDK at /Library/Android/sdk/ndk-bundle did not have a source.properties file
解决Android运行出现NDK at /Library/Android/sdk/ndk-bundle did not have a source.properties file
143 4
解决Android运行出现NDK at /Library/Android/sdk/ndk-bundle did not have a source.properties file
|
2月前
|
Dart 开发工具 Android开发
Android Studio导入Flutter项目提示Dart SDK is not configured
Android Studio导入Flutter项目提示Dart SDK is not configured
108 4
|
2月前
|
开发工具 图形学 Android开发
Unity与安卓丨unity报错:SDK Tools version 0.0 < 26.1.1
Unity与安卓丨unity报错:SDK Tools version 0.0 < 26.1.1
|
2月前
|
开发工具 Android开发
Flutter: Android SDK not found at this location,Android Studio not found at xxx
Flutter: Android SDK not found at this location,Android Studio not found at xxx
126 2
|
2月前
|
开发工具 Android开发
[Android Studio]please select android sdk
[Android Studio]please select android sdk
44 1
|
2月前
|
开发工具 Android开发
Android项目架构设计问题之SDK内部减少每次回调时的冗余判断逻辑如何解决
Android项目架构设计问题之SDK内部减少每次回调时的冗余判断逻辑如何解决
22 0
|
2月前
|
Java API 开发工具
Android项目架构设计问题之为SDK添加新的回调支持如何解决
Android项目架构设计问题之为SDK添加新的回调支持如何解决
19 0
|
5月前
|
JavaScript Java Maven
云效产品使用常见问题之android sdk 构建出aar后,上传到私有maven仓库失败如何解决
云效作为一款全面覆盖研发全生命周期管理的云端效能平台,致力于帮助企业实现高效协同、敏捷研发和持续交付。本合集收集整理了用户在使用云效过程中遇到的常见问题,问题涉及项目创建与管理、需求规划与迭代、代码托管与版本控制、自动化测试、持续集成与发布等方面。
|
API 开发工具 Android开发
解决 Android App 上架 Google play后 ,签名变更,第三方sdk无法登录
解决 Android App 上架 Google play后 ,签名变更,第三方sdk无法登录
272 0