Update for SDK Manager under MacBook [it doesn't matter if Google is blocked]

Source: Internet
Author: User
Tags android sdk manager macbook

Talk less, just say the procedure:

1. Modify the/etc/hosts file:

Right-click the Finder, select Go to Folder, enter/private/etc/, hit enter, the file/etc/hosts copy to the desktop (because the permissions are limited, can not be directly modified), the file after the fight to add content:


#Google主页
203.208.46.146 www.google.com
#这行是为了方便打开Android开发官网 don't seem to be able to open a VPN now.
74.125.113.121 developer.android.com
#更新的内容从以下地址下载
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com


After the modification, replace the original file.


2. Force the use of the HTTP protocol:

Eclipse, Punch-in top menu bar window-->android SDK Manager, then action top menu bar Android SDK manager-->preferences--> tick Force https:// ......


By completing the two steps above, you can update the SDK Manager you need.


Another: In the Windows Environment Update method Similar, there are many tutorials online, direct search can. Because there are very few tutorials on the MacBook, I hereby explain.

Update for SDK Manager under MacBook [it doesn't matter if Google is blocked]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.