Android Studio 在更新时提示Connection failed。可修改安装路径下的bin/studio.vmoptions ,添加如下内容:
-Didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml
-Didea.patches.url=http://dl.google.com/android/studio/patches/

注意:64位软件需要修改studio64.vmoptions文件。
如果仍然无效,可以修改http为https试试看,然后重启点击check update。

于update对话框中更新通道的选择,建议使用Dev Channel,这个较稳定。

以下关于更新源的介绍转自http://www.tuicool.com/articles/fQJN7n:

  • Canary channel : Canary builds are the bleeding edge, released about weekly. While these builds do get tested, they are still subject to bugs, as we want people to see what's new as soon as possible. This is not recommended for production.
  • Dev channel : Dev builds are hand-picked older canary builds that survived the test of time. It should be updated roughly bi-weekly or monthly.
  • Beta channel : Not used yet. This will be used when we'll have beta-quality releases. Right now Android Studio is considered preview-quality.
  • Stable channel : Not used yet. That will be for version 1.0 and following stable milestones.

How to Switch?

Press “Ctrl-Alt-S” to go to settings or you can find it through the file menu.

image

Under IDE Settings - Select Updates and switch “ Canary Channel ” to “ Dev Channel ” as shown below.

image

Wrap-Up

My Android Studio is finally back up and running and hopefully this saves you some pain.

更多相关文章

  1. Android 功耗优化(5)---Android O 的Doze模式白名单路径
  2. 如何正确获得Android内外SD卡路径
  3. android存储路径问题
  4. Android Studio 3.2.2- Android SDK 安装包报错 无法 安装 路径
  5. android 文档路径获取
  6. I2C-Tools 4.0使用说明及android平台移植,提供源码下载路径
  7. android 获取系统默认路径
  8. Android 安装路径问题 -- 导致无法启动模拟器
  9. Android 根据Video绝对路径获取其缩略图

随机推荐

  1. 电脑本地换IP用派克斯如何实现
  2. 面试题:预训练方法 BERT和OpenAI GPT有什
  3. cp网站源码安装步骤详情
  4. ORA-29770: global enqueue process LMS
  5. Github最火!程序员必须知道22大定律和法则
  6. python常用的图像处理工具有哪些?工具推
  7. Ryft Cloud迁移到AWS EC2 F1实例上来了!
  8. 频谱分析仪中的 Spartan-6 FPGA
  9. Xilinx FPGA在基因组测序中大显身手!
  10. 五巨头联合打造高可靠性IIOT方案