When the SDK cannot be updated, the operation is as follows:
Modify the host file:
Terminal command:
sudo gedit /etc/hosts
Upload the following content to the file:
# Google service # Chrome Web application 203.208.46.146 chrome. google. com203.208.46.146 clients0.google. com203.208.46.146 clients1.google. com203.208.46.146 clients2.google. com203.208.46.146 clients3.google. com203.208.46.146 clients4.google. com203.208.46.146 www. googleusercontent. com203.208.46.146 lh0.googleusercontent. com203.208.46.146 lh1.googleusercontent. com203.208.46.146 lh2.googleusercontent. com203.208.46.146 lh3.googleusercontent. com203.208.46.146 lh4.googleusercontent. com203.208.46.146 lh5.googleusercontent. com203.208.46.146 lh6.googleusercontent. com203.208.46.146 clients1.googleusercontent. com203.208.46.146 clients2.googleusercontent.com # webpage snapshot 203.208.46.146 webcache.googleusercontent.com # Google ssl203.208.46.146 encrypted. google. com203.208.46.146 encrypted.google.com.hk # Google docs203.208.46.146 docs. google. com203.208.46.146 docs0.google. com203.208.46.146 docs1.google. com203.208.46.146 docs2.google. com203.208.46.146 docs3.google. com203.208.46.146 spreadsheets. google. com203.208.46.146 spreadsheets0.google. com203.208.46.146 spreadsheets1.google. com203.208.46.146 spreadsheets2.google. com203.208.46.146 spreadsheets3.google.com # gmail203.208.46.146 mail. google. com203.208.46.146 chatenabled.mail.google.com # Gtalk chat service in Gmail # Google search 203.208.46.146 www.google.com # Google Translate www.googlepreview.com # Google Translate 203.208.46.146 translate. google. com203.208.46.146 translate.googleapis.com # Google search recommendation (ie9) 203.208.46.146 clients5.google.com # Google code203.208.46.146 code.google.com # Picasa network album 203.208.46.146 picasaweb. google. com203.208.46.146 lh0.ggpht. com203.208.46.146 lh1.ggpht. com203.208.46.146 lh2.ggpht. com203.208.46.146 lh3.ggpht. com203.208.46.146 lh4.ggpht. com203.208.46.146 lh5.ggpht. com203.208.46.146 lh6.ggpht. com203.208.46.146 lh7.ggpht. com203.208.46.146 lh8.ggpht. com203.208.46.146 lh8.ggpht. com203.208.46.146 lh9.ggpht. com203.208.46.146 lh6.google.com # Google profile 203.208.46.146 profiles. google. com203.208.46.146 browsersync.google.com # Google + 203.208.46.146 talkgadget.google.com # chat service 203.208.46.146 SSL in Google +. gstatic. com203.208.46.146 images-pos-opensocial.googleusercontent.com203.208.46.146 images1-focus-opensocial.googleusercontent.com203.208.46.146 images2-focus-opensocial.googleusercontent.com203.208.46.146 images3-focus-opensocial.googleusercontent.com203.208.46.146 images4-focus-opensocial.googleusercontent.com203.208.46.146 images5-focus-opensocial.googleusercontent.com203.208.46.146 images6-focus-opensocial.googleusercontent.com203.208.46.146 plus.google.com # download 203.208.46.146 DL. google. the com203.208.46.146 dl-ssl.google.com # groups203.208.46.146 groups.google.com # Google URL shortener203.208.46.146 goo. GL # Google app engine203.208.46.146 appengine.google.com # Android %74.125.113.121 2.16.android.com
Save and exit
During the update, the following error occurs:
Reason: hostname in certificate didn't match: <dl-ssl.google.com>! = <Www.google.com>
Solution Method: Go to eclipse and open the settings of SDK manager in tools> options under SDK manager. Select force https ://... Sources to be fetched using http ://...", Use http.
Update again.