首页 > 其他分享 >android-当android studio更新时遇到Connetion failed

android-当android studio更新时遇到Connetion failed

时间:2022-11-29 18:38:34浏览次数:31  
标签:Connetion builds 版本号 failed studio android com 下载


获取到你的当前版本号:

获取方法:Help->About,获取后如下图所示:


android-当android studio更新时遇到Connetion failed_android

然后获取最新的版本编号:

打开网页https://dl.google.com/android/studio/patches/updates.xml

在最上面找到如下xml代码:

    

1<products><product name="Android Studio"><code>AI</code><channel feedback="https://code.google.com/p/android/issues/entry?template=Android+Studio+bug" id="AI-1-eap" majorVersion="1" name="Android Studio updates" status="eap" url="http://tools.android.com/recent"><build number="141.2112779" version="1.3 RC 4"><message><html>

2        A new Android Studio 1.3 RC 4 is available in the canary channel.<p/>

3        Canary builds are the bleeding edge, released about weekly. While these builds do get tested,<br/>

4        they are still subject to bugs, as we want people to see what's new as soon as possible.<br/><p/>

5        For slightly more predictable builds, use <b>Settings | Updates</b> and select the <b>Dev Channel</b>.</html></message>

从上面的代码中我们可以,发现最新的版本号为:

1141.2112779

4.下载离线升级包:

下载的网址url为:

1https://dl.google.com/android/studio/patches/AI-$FROM-$TO-patch-win.ja

其中

$FROM:你的当前版本号,比如我的当前版本为:141.2095413

$TO:就是你欲升级的版本号,比如我此处要升级的版本号为:141.2112779

然后就可以下载了。

下载后把文件拷贝到Android Studio的根目录下。

然后在当前目录打开cmd。执行以下命令:

1java -classpath AI-130.737825-132.843336-patch-win.jar com.intellij.updater.Runner install .

注意最后有一个“.”符号,意思就是当前目录。

标签:Connetion,builds,版本号,failed,studio,android,com,下载
From: https://blog.51cto.com/u_12853553/5896495

相关文章

  • android的sqlite获取当天数据的sql语句
    SELECTcount(*)FROM表名WHEREstrftime('%m-%d','now','localtime')=strftime('%m-%d',表中时间字段)1以上查询语句只需修改where字符串增以增加更多限制条件。“......
  • Android - DataBinding源码解读(内存消耗和双向绑定原理分析)
    目录​​一代码Demo​​​​二解析​​​​2.1 关键的ActivityMainBindingImp()​​​​2.2 ​​​​2.3​​​​三总结​​​​3.1内存消耗的三个地方:​​​​3.2 ......
  • Android Error: java.lang.IllegalArgumentException: You cannot start a load for a
    一:Glide有时会出现这样的异常:java.lang.IllegalArgumentException:Youcannotstartaloadforadestroyedactivityatcom.bumptech.glide.manager.RequestManagerRe......
  • Android:性能优化工具之内存泄露-LeakCanary
    目录​​一简介​​​​二使用​​​​三进阶用法​​​​四hprof分析复杂内存泄露问题​​​​五使用小结​​​​六使用踩坑​​​​6.1权限​​​​6.2 NullPoi......
  • Android 调试桥:adb的入门与最佳实践(无线连接调试)
    商业转载请联系作者获得授权,非商业转载请注明出处。目录​​一adb简介​​​​二 adb工作原理​​​​三配置adb环境​​​​四常用的adb命令​​​​4.1help命令​​......
  • Android手把手,发布开源组件至 MavenCentral仓库
    一前言有时候,在我们写了一个组件想将之开源给更多人分享和使用时,就需要我们发布开源组件到公开的远程仓库,如Jitpack、JenCenter、MavenCentral。其中,MavenCentral是最......
  • Android:按下与提起的状态background
    <?xmlversion="1.0"encoding="utf-8"?><selectorxmlns:android="http://schemas.android.com/apk/res/android"><itemandroid:drawable="@color/btn_pressed_green_......
  • 使用LRU算法缓存图片,android 3.0
    在您的UI中显示单个图片是非常简单的,如果您需要一次显示很多图片就有点复杂了。在很多情况下(例如使用ListView,GridView或者 ​​​ViewPager​​​控件),显示在屏幕......
  • android viewgroup事件分发机制
    1、案例首先我们接着上一篇的代码,在代码中添加一个自定义的LinearLayout:[java]​​viewplain​​​​copy​​package  importimportimportimportimpor......
  • android混淆
    为了防止自己的劳动成果被别人窃取,混淆代码能有效防止被反编译,下面来总结以下混淆代码的步骤:1.大家也许都注意到新建一个工程会看到项目下边有这样proguard-project.txt......