2015年7月14日 星期二

Installing Android Studio behind Proxy on Ubuntu

l操作步驟:

1. 進入 ${android-studio path}/bin
    Ex: ~/Program/android-studio/bin
2. 編輯  idea.properties
    vi idea.properties
    在檔案尾端加入下列這行並儲存檔案
     disable.android.first.run=true
3. 執行執行Studio
    ./Program/android-studio/bi/studio.sh
4. 進入進入Studio後 從跳出的視窗進行進行proxy設定
    Configure > Settings > Appearance & Behavior > System Settings > HTTP Proxy
5. 關閉Studio
6.  編輯 idea.properties 將步驟2加入的那行刪除並儲存
7.  重新啟動Studio
     

Reference:

http://mayneax.blogspot.tw/2015/01/installing-android-studio-behind-proxy.html


Navigate to the android-studio/bin directory

you need to edit  idea.properties script to skip the initial set up page

so run vi idea.properties
and add this line at the end of the script

disable.android.first.run=true

save the script and the run
 ./studio.sh

 On the window that appears go to Configure>System Settings>http proxy  then set your proxy.

Exit and then edit idea.properties file and remove the line you added, then run

./studio.sh

沒有留言: