Android Studio 更新问题

本文介绍了如何在遇到GFW阻断的情况下,手动更新AndroidStudio至最新版本的方法,包括通过下载特定版本的更新包并手动安装来克服网络限制。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

如下:
[quote]
<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>
[/quote]


然后复制以下网址到浏览器

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 .
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值