有多少人,在纠结SDK老是更新出问题,打开Android开发者网站等半天,不能上google,facebook,youtube等国外网站而烦恼呢,
如果不巧你正好看到了这篇文章,那么恭喜你,你的烦恼解除了,不用VPN照样解决问题。
好了,话不多说,直接进入正题。
找到Hosts文件,文件路径在 C:\Windows\System32\drivers\etc\hosts
#解决更新SDK超时问题
209.116.186.242 dl.google.com
209.116.186.242 dl-ssl.google.com
#解决访问Android官网等半天
209.116.186.242 developer.android.com
#解决打开不了google
209.116.186.242 0-focus-opensocial.googleusercontent.com
209.116.186.242 3hdrrlnlknhi77nrmsjnjr152ueo3soc-a-calendar-opensocial.googleusercontent.com
209.116.186.242 accounts.google.com
209.116.186.242 ajax.googleapis.com
209.116.186.242 android.l.google.com
209.116.186.242 a-oz-opensocial.googleusercontent.com
209.116.186.242 apis.google.com
209.116.186.242 appengine.google.com
209.116.186.242 bks0.books.google.com
209.116.186.242 bks1.books.google.com
209.116.186.242 bks2.books.google.com
209.116.186.242 bks3.books.google.com
209.116.186.242 bks4.books.google.com
209.116.186.242 bks5.books.google.com
209.116.186.242 bks6.books.google.com
209.116.186.242 bks7.books.google.com
209.116.186.242 bks8.books.google.com
209.116.186.242 bks9.books.google.com
209.116.186.242 blogsearch.google.cn
209.116.186.242 blogsearch.google.com.hk
209.116.186.242 books.google.com
209.116.186.242 browserchannel-docs.l.google.com
209.116.186.242 browserchannel-spreadsheets.l.google.com
209.116.186.242 browsersync.google.com
209.116.186.242 cache.pack.google.com
209.116.186.242 calendar.google.com
209.116.186.242 chatenabled.mail.google.com
209.116.186.242 checkout.google.com
209.116.186.242 chrome.google.com
209.116.186.242 clients1.google.com
209.116.186.242 clients1.googleusercontent.com
209.116.186.242 clients2.google.com
209.116.186.242 clients2.googleusercontent.com
209.116.186.242 clients3.google.com
209.116.186.242 clients3.googleusercontent.com
209.116.186.242 clients4.google.com
209.116.186.242 clients4.googleusercontent.com
209.116.186.242 clients5.google.com
209.116.186.242 clients5.googleusercontent.com
209.116.186.242 clients6.google.com
209.116.186.242 clients6.googleusercontent.com
209.116.186.242 clients7.google.com
209.116.186.242 clients7.googleusercontent.com
209.116.186.242 code.google.com
209.116.186.242 csi.gstatic.com
209.116.186.242 desktop.google.com
209.116.186.242 desktop2.google.com
209.116.186.242 ditu.google.cn
209.116.186.242 ditu.google.com
209.116.186.242 dl.google.com
209.116.186.242 docs.google.com
209.116.186.242 earth.google.com
209.116.186.242 encrypted.google.com
209.116.186.242 encrypted.google.com.hk
209.116.186.242 encrypted-tbn0.google.com
209.116.186.242 encrypted-tbn1.google.com
209.116.186.242 encrypted-tbn2.google.com
209.116.186.242 encrypted-tbn3.google.com
209.116.186.242 feedback.googleusercontent.com
209.116.186.242 finance.google.com
209.116.186.242 fonts.googleapis.com
209.116.186.242 g0.gstatic.com
209.116.186.242 gg.google.com
209.116.186.242 ghs.google.com
209.116.186.242 ghs.l.google.com
209.116.186.242 google.com
209.116.186.242 google.com.hk
209.116.186.242 googlecl.googlecode.com
209.116.186.242 googlehosted.l.googleusercontent.com
209.116.186.242 id.google.cn
209.116.186.242 id.google.com
209.116.186.242 id.google.com.hk
209.116.186.242 images.google.com
209.116.186.242 images.google.com.hk
209.116.186.242 images0-focus-opensocial.googleusercontent.com
209.116.186.242 images1-focus-opensocial.googleusercontent.com
209.116.186.242 images2-focus-opensocial.googleusercontent.com
209.116.186.242 images3-focus-opensocial.googleusercontent.com
209.116.186.242 images4-focus-opensocial.googleusercontent.com
209.116.186.242 images5-focus-opensocial.googleusercontent.com
209.116.186.242 images6-focus-opensocial.googleusercontent.com
209.116.186.242 images-lso-opensocial.googleusercontent.com
209.116.186.242 images-oz-opensocial.googleusercontent.com
209.116.186.242 images-pos-opensocial.googleusercontent.com
209.116.186.242 investor.google.com
209.116.186.242 khms0.google.com
209.116.186.242 khms1.google.com
209.116.186.242 labs.google.com
209.116.186.242 large-uploads.l.google.com
209.116.186.242 lh1.ggpht.com
209.116.186.242 lh1.googleusercontent.com
209.116.186.242 lh2.ggpht.com
209.116.186.242 lh2.googleusercontent.com
209.116.186.242 lh3.ggpht.com
209.116.186.242 lh3.googleusercontent.com
209.116.186.242 lh4.ggpht.com
209.116.186.242 lh4.googleusercontent.com
209.116.186.242 lh5.ggpht.com
209.116.186.242 lh5.googleusercontent.com
209.116.186.242 lh6.ggpht.com
209.116.186.242 lh6.googleusercontent.com
209.116.186.242 m.google.com
209.116.186.242 mail.google.com
209.116.186.242 mail-attachment.googleusercontent.com
209.116.186.242 maps.google.cn
209.116.186.242 maps.google.com
209.116.186.242 maps.gstatic.cn
209.116.186.242 maps.gstatic.com
209.116.186.242 maps-api-ssl.google.com
209.116.186.242 mt0.google.cn
209.116.186.242 mt0.google.com
209.116.186.242 mt1.google.cn
209.116.186.242 mt1.google.com
209.116.186.242 mt2.google.cn
209.116.186.242 mt2.google.com
209.116.186.242 mt3.google.cn
209.116.186.242 mt3.google.com
209.116.186.242 mts0.google.com
209.116.186.242 mts1.google.com
209.116.186.242 music.google.com
209.116.186.242 music.googleusercontent.com
209.116.186.242 music-streaming.l.google.com
209.116.186.242 mw2.google.com
209.116.186.242 news.google.cn
209.116.186.242 news.google.com
209.116.186.242 news.google.com.hk
209.116.186.242 accounts.google.com
209.116.186.242 accounts.google.com.hk
209.116.186.242 newsfeed-dot-latest-dot-rovio-ad-engine.appspot.com
209.116.186.242 nt0.ggpht.com
209.116.186.242 nt1.ggpht.com
209.116.186.242 nt2.ggpht.com
209.116.186.242 nt3.ggpht.com
209.116.186.242 oauth.googleusercontent.com
209.116.186.242 ode25pfjgmvpquh3b1oqo31ti5ibg5fr-a-calendar-opensocial.googleusercontent.com
209.116.186.242 pack.google.cn
209.116.186.242 pack.google.com
209.116.186.242 picasa.google.com
209.116.186.242 picasaweb.google.com
209.116.186.242 picasaweb.google.com.hk
209.116.186.242 places.google.com
209.116.186.242 plus.google.com
209.116.186.242 plus.google.com.hk
209.116.186.242 plusone.google.com
209.116.186.242 pop.gmail.com
209.116.186.242 profiles.google.com
209.116.186.242 project-slingshot-gp.appspot.com
209.116.186.242 r3269-dot-latest-dot-project-slingshot-gp.appspot.com
209.116.186.242 s1.googleusercontent.com
209.116.186.242 s2.googleusercontent.com
209.116.186.242 s3.googleusercontent.com
209.116.186.242 s4.googleusercontent.com
209.116.186.242 s5.googleusercontent.com
209.116.186.242 s6.googleusercontent.com
209.116.186.242 safebrowsing.clients.google.com
209.116.186.242 safebrowsing-cache.google.com
209.116.186.242 sandbox.google.com
209.116.186.242 scholar.google.cn
209.116.186.242 scholar.google.com
209.116.186.242 scholar.google.com.hk
209.116.186.242 scholar.l.google.com
209.116.186.242 services.google.com
209.116.186.242 sites.google.com
209.116.186.242 sketchup.google.com
209.116.186.242 spreadsheets.google.com
209.116.186.242 ssl.google-analytics.com
209.116.186.242 ssl.gstatic.com
209.116.186.242 suggestqueries.google.com
209.116.186.242 t.doc-0-0-sj.sj.googleusercontent.com
209.116.186.242 t0.gstatic.com
209.116.186.242 t1.gstatic.com
209.116.186.242 t2.gstatic.com
209.116.186.242 t3.gstatic.com
209.116.186.242 talkgadget.google.com
209.116.186.242 talkx.l.google.com
209.116.186.242 themes.googleusercontent.com
209.116.186.242 toolbar.google.com
209.116.186.242 toolbar.google.com.hk
209.116.186.242 toolbarqueries.clients.google.com
209.116.186.242 toolbarqueries.google.com.hk
209.116.186.242 tools.google.com
209.116.186.242 translate.google.cn
209.116.186.242 translate.google.com
209.116.186.242 translate.google.com.hk
209.116.186.242 translate.googleapis.com
209.116.186.242 uploadsj.clients.google.com
209.116.186.242 v8mq9slfbk1dglresapkg0i5f8pm64lc-a-calendar-opensocial.googleusercontent.com
209.116.186.242 video.google.cn
209.116.186.242 video.google.com
209.116.186.242 video.google.com.hk
209.116.186.242 voice.google.com
209.116.186.242 wave.google.com
209.116.186.242 webcache.googleusercontent.com
209.116.186.242 wenda.google.com.hk
209.116.186.242 www.gmail.com
209.116.186.242 www.google.com
209.116.186.242 www.google.com.hk
209.116.186.242 www.googleadservices.com
209.116.186.242 www.google-analytics.com
209.116.186.242 www.googleapis.com
209.116.186.242 www.googlelabs.com
209.116.186.242 www.gstatic.com
209.116.186.242 www-calendar-opensocial.googleusercontent.com
209.116.186.242 www-opensocial.googleusercontent.com
209.116.186.242 www-oz-opensocial.googleusercontent.com
209.116.186.242 bt26mravu2qpe56n8gnmjnpv2inl84bf-a-oz-opensocial.googleusercontent.com
209.116.186.242 rbjhe237k979f79d87gmenp3gejfonu9-a-oz-opensocial.googleusercontent.com
209.116.186.242 k6v18tjr24doa89b55o3na41kn4v73eb-a-oz-opensocial.googleusercontent.com
209.116.186.242 8kubpeu8314p2efdd7jlv09an9i2ljdo-a-oz-opensocial.googleusercontent.com
209.116.186.242 adstvca8k2ooaknjjmv89j22n9t676ve-a-oz-opensocial.googleusercontent.com
209.116.186.242 ob7f2qc0i50kbjnc81vkhgmb5hsv7a8l-a-oz-opensocial.googleusercontent.com
209.116.186.242 53rd6p0catml6vat6qra84rs0del836d-a-oz-opensocial.googleusercontent.com
209.116.186.242 u807isd5egseeabjccgcns005p2miucq-a-oz-opensocial.googleusercontent.com
209.116.186.242 r70rmsn4s0rhk6cehcbbcbfbs31pu0va-a-oz-opensocial.googleusercontent.com
209.116.186.242 59cbv4l9s05pbaks9v77vc3mengeqors-a-oz-opensocial.googleusercontent.com
209.116.186.242 i8brh95qor6r54nkl52hidj2ggcs4jgm-a-oz-opensocial.googleusercontent.com
209.116.186.242 upt14k1i2veesusrda9nfotcrbp9d7p5-a-oz-opensocial.googleusercontent.com
209.116.186.242 debh8vg7vd93bco3prdajidmm7dhql3f-a-oz-opensocial.googleusercontent.com
209.116.186.242 4fjvqid3r3oq66t548clrdj52df15coc-a-oz-opensocial.googleusercontent.com
209.116.186.242 hsco54a20sh11q9jkmb51ad2n3hmkmrg-a-oz-opensocial.googleusercontent.com
209.116.186.242 qhie5b8u979rnch1q0hqbrmbkn9estf7-a-oz-opensocial.googleusercontent.com
209.116.186.242 e6ha3snmi09c57cs4h4dnoa006cgfjfu-a-oz-opensocial.googleusercontent.com
209.116.186.242 66fl6oqbdsqf5fjl032t5iulimtqjhpa-a-oz-opensocial.googleusercontent.com
#解决play商店打开不了
209.116.186.242 play.google.com
209.116.186.242 play.google.com.hk
#解决访问facebooke问题
173.252.120.6 facebook.com
173.252.120.6 www.facebook.com
173.252.120.6 upload.facebook.com
173.252.120.6 m.facebook.com
173.252.120.6 login.facebook.com
173.252.120.6 secure.facebook.com
173.252.120.6 apps.facebook.com
173.252.120.6 touch.facebook.com
173.252.120.6 s-static.ak.facebook.com
173.252.120.6 api.facebook.com
173.252.120.6 zh-CN.facebook.com
173.252.120.6 static.ak.facebook.com
173.252.120.6 b.static.ak.facebook.com
173.252.120.6 secure-profile.facebook.com
173.252.120.6 secure-media-sf2p.facebook.com
173.252.120.6 ssl.facebook.com
173.252.120.6 apps.facebook.com
173.252.120.6 profile.ak.facebook.com
173.252.120.6 fbcdn.net
173.252.120.6 external.ak.fbcdn.net
173.252.120.6 vthumb.ak.fbcdn.net
173.252.120.6 static.ak.fbcdn.net
173.252.120.6 b.static.ak.fbcdn.net
173.252.120.6 creative.ak.fbcdn.net
173.252.120.6 profile.ak.fbcdn.net
173.252.120.6 s-hprofile-sf2p.fbcdn.net
173.252.120.6 photos-a.ak.fbcdn.net
173.252.120.6 photos-b.ak.fbcdn.net
173.252.120.6 photos-c.ak.fbcdn.net
173.252.120.6 photos-d.ak.fbcdn.net
173.252.120.6 photos-e.ak.fbcdn.net
173.252.120.6 photos-f.ak.fbcdn.net
173.252.120.6 photos-g.ak.fbcdn.net
173.252.120.6 photos-h.ak.fbcdn.net
还有很多大家可以去网上找找,只要把相对应的重定向地址复制到hosts里面就可以解决对应的问题
应该很多人都知道这个方法,不过问题来了,大家用了一段时间后就会发现又访问不了了
什么原因 呢,原因很简单,域名重定向的那个IP地址已经不能用了
那么怎么解决这个问题,很简单只要换一个有用的IP地址就OK了
问题又来了,有用的IP地址怎么找,其实很简单教大家一个方法
有知道超级ping这个工具的就明白了
输入对应的域名地址,勾选海外,如 google.com
找到最快节点,这里找到最快节点是美国圣何塞,ip为 74.125.239.97 ,有重复的选毫秒数最低的就可以
接下来只需要把访问google的所有重定向IP更换为我们找到的这个IP就可以了
所以以后如果访问不了,直接用这个方法一切OK,访问国外网站哪家强,哈哈!
祝大家都能成功越过这堵墙!