最近开始使用Android Studio做Android开发,但是从Android开发论坛下载的Android Studio一直都是0.2.0版本的,,因为在国内,每次点击【Check For Update】,都被我们伟大的 G~F~W给生生得阻断。
更新方式如下:
打开
https://dl.google.com/android/studio/patches/updates.xml

如下:
引用
<products>
<product name="Android Studio">
<code>AI</code>
<channel id="AI-0-eap" name="Android Studio updates" status="eap" url="http://tools.android.com/recent" feedback="https://code.google.com/p/android/issues/entry?template=Android+Studio+bug" majorVersion="0">
<build number="132.883541" version="0.3.1">
<message>
<![CDATA[
<html> A new Android Studio 0.3.1 is available in the canary channel.<p/> Canary builds are the bleeding edge, released about weekly. While these builds do get tested,<br/> they are still subject to bugs, as we want people to see what's new as soon as possible.<br/> <p/> For slightly more predictable builds, use <b>Settings | Updates</b> and select the <b>Dev Channel</b>. </html>
]]>
</message>
<button name="Download" url="http://tools.android.com/download/studio/canary/latest/" download="true"/>
<button name="Release Notes" url="http://tools.android.com/recent"/>
<patch from="130.737825" size="34"/>
<patch from="130.777423" size="22"/>
<patch from="130.782403" size="22"/>
<patch from="130.795381" size="19"/>
<patch from="132.809981" size="19"/>
<patch from="132.821530" size="18"/>
<patch from="132.830170" size="15"/>
<patch from="132.843336" size="8"/>
<patch from="132.855830" size="7" exclusions="mac"/>
<patch from="132.858136" size="7" exclusions="mac"/>
<patch from="132.863010" size="7"/>
<patch from="132.878379" size="1"/>
</build>
</channel>
<channel id="AI-0-dev-channel" name="Android Studio updates" status="milestone" url="http://tools.android.com/recent" feedback="https://code.google.com/p/android/issues/entry?template=Android+Studio+bug" majorVersion="0">
<build number="132.883541" version="0.3.1">
<message>
<![CDATA[
<html> A new Android Studio 0.3.1 is available in the dev channel.<p/> Dev channel builds are hand-picked older canary builds that survived the test of time. </html>
]]>
</message>
<button name="Download" url="http://developer.android.com/sdk/installing/studio.html" download="true"/>
<button name="Release Notes" url="http://tools.android.com/recent"/>
<patch from="130.737825" size="34"/>
<patch from="130.777423" size="22"/>
<patch from="130.782403" size="22"/>
<patch from="130.795381" size="19"/>
<patch from="132.809981" size="19"/>
<patch from="132.821530" size="18"/>
<patch from="132.830170" size="15"/>
<patch from="132.843336" size="8"/>
<patch from="132.855830" size="7" exclusions="mac"/>
<patch from="132.858136" size="7" exclusions="mac"/>
<patch from="132.863010" size="7"/>
<patch from="132.878379" size="1"/>
</build>
</channel>
</product>
</products>



然后复制以下网址到浏览器
http://dl.google.com/android/studio/patches/AI-132.893413-133.970939-patch-mac.jar



把“AI-130.687321”替换为当前的版本号,把“130.729444”替换成要升级的版本号,下载好对应的jar文件升级包,然后放在/Applications/Android Studio.app/ 目录下,在终端执行:
java -classpath AI-132.893413-133.970939-patch-mac.jar com.intellij.updater.Runner instaill . 

更多相关文章

  1. 开发环境搭建
  2. 【Android(安卓)界面效果47】RecyclerView详解
  3. Android开发书籍和教程
  4. Android(安卓)NDK 学习之传递类对象
  5. Android开发中 ListView 不能不说的几个属性
  6. android google地图定位开发,且可以自由移动位置重新获取定位,地址
  7. android 开发 解码gif图片,获取每帧bitmap
  8. 在CentOS下搭建Android(安卓)开发环境
  9. Android(安卓)NDK带来什么

随机推荐

  1. 奥斯卡,究竟谁一直在陪跑。
  2. 如何正确使用Node.js事件[每日前端夜话0x
  3. JavaScript 中的强制类型转换[每日前端夜
  4. 大江大河,一代人的缩影。
  5. 用Python生成抖音字符视频!
  6. 用Python将HTML转为PDF。
  7. 怎样与 CORS 和 cookie 打交道[每日前端
  8. 我怎样用Node.js自动完成工作的[每日前端
  9. 学习C语言的历程
  10. 为什么GraphQL是API的未来[每日前端夜话0