解决Android Studio 升级时提示 Connection failed. Please check your network connection and try again问题

一,问题:

   无论mac还是windows可能都会出现这个问题,解决方案大同小异,就是修改VMOptions而已。

 

 

解决方案:

    找到Android Studio的程序包,右键选择"显示包内容",打开Contents文件,然后打开Info.plist。在最后面找到JVMOptions,

双击下面的VMOptions。修改其Value,然后将下面的内容添加在开头即可 ,记得每个选项之间要保留空格:::

-Didea.patches.url=http://dl.google.com/android/studio/patches/  -Didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml

 

文章来自:http://www.cnblogs.com/ufreedom/p/4208090.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3