方法1:
到android studio安装目录,打开bin目录,编辑idea.properties, 在文件末尾添加: disable.android.first.run=true 这将禁用第一次运行。
然后打开 android studio, 在Settings > HTTP Proxy settings设置代理相关参数,关闭android studio.
再次打开idea.properties文件,删除刚刚添加的 disable.android.first.run=true ,并重新打开android studio . 因为已经设置了代理,现在android studio就可以正常启动了。
方法2:
创建或者修改文件: ~/.AndroidStudio/config/options/other.xml 或者 ~/.AndroidStudioBeta/config/options/other.xml ,该目录根据Android Studio 版本不同可能有差异.
将127.0.0.1,8580设置成你自己的代理