天天看點

Android Studio SDK 使用國内鏡像源線上安裝

一、使用國内鏡像源:

先在這裡推薦幾個:

1、東軟資訊學院

mirrors.neusoft.edu.cn     端口:80

2、北京化工大學

ubuntu.buct.edu.cn/ubuntu.buct.cn  端口:80

3、中國科學院開源協會

mirrors.opencas.cn (mirrors.opencas.org/mirrors.opencas.ac.cn)    端口:80

4、上海GDG鏡像伺服器

sdk.gdgshanghai.com   端口:8000 

5、電子科技大學

mirrors.dormforce.net  端口:80

其中,強烈推薦電子科技大學的鏡像源!

二、使用方法

啟動 Android SDK Manager ,打開主界面,依次選擇「Tools」、「Options…」,彈出『Android SDK Manager – Settings』視窗;

Android Studio SDK 使用國内鏡像源線上安裝

在『Android SDK Manager – Settings』視窗中,在「HTTP Proxy Server」和「HTTP Proxy Port」輸入框内填入mirrors.neusoft.edu.cn和80,并且選中「Force https://… sources to be fetched using http://…」複選框。設定完成後單擊「Close」按鈕關閉『Android SDK Manager – Settings』視窗傳回到主界面;

Android Studio SDK 使用國内鏡像源線上安裝
Android Studio SDK 使用國内鏡像源線上安裝