一,问题:

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

解决方案:

Windows:

在\Android Studio\bin目录下找到 studio.exe.vmoptions文件。64系统找到相应的studio64.exe.vmoptions文件。添加以下两句:

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

重启后就可以更新使用

Mac:

找到Android Studio的安装包,然后显示包内容。

在/Applications/Android Stuiod.app/Contents目录。找到info.plist

然后找到key为JVMOptions,在其目录下找到key 为VMOptions 然后编辑其value,

在最前面加入下面内容:

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

每个选项之间要保留空格。

保存,重启Android Studio即可

更多相关文章

  1. 关于Eclipse不能升级android SDK和ADT的解决方法
  2. ubuntu11.10下配置android的Eclipse开发环境
  3. Android(安卓)引用使用外部字体
  4. (九)Android(安卓)项目集成 Flutter 模块
  5. Android(安卓)studio rebuild之后找不到R文件
  6. android系统开发sdcard
  7. android源码中makefile文件中各参数说明
  8. Android(安卓)ramdisk.img system.img userdata.img 介绍与使用
  9. Android(安卓)Studio 新建页面和跳转

随机推荐

  1. mysql 压缩解压版 zip 安装 详细步骤 教
  2. mysql无法登陆修复
  3. SQL主键的外键问题
  4. Amoeba实现mysql主从读写分离1
  5. 查询从wordnet mysql获取反义词?
  6. Mysql 命令行快速导入数据
  7. Qt通过ODBC连接SQL Server2008实践总结
  8. Oracle SQL Developer是一个与c#一起使用
  9. mysql中insert...select引发的死锁
  10. SQL对多个列分别进行合并的操作,100分送