android studio最简单的更新方式(像普通软件一样直接在线升级,谁说as不能在线升级的???)

本文转自:http://android-mirror.bugly.qq.com:8080/include/usage.html

之前一直看诸位网友说as不可直接在线更新,于是耐心琢磨,google官网的离线增量更新(增量更新见另外一篇博客as离线更新方式)。但是今天看到这篇文章一口血喷在键盘上。我他妈怎么没有早点看到,早点看到,早点看到。

The user guide for this mirror 

Powered by Tencent Bugly (bugly.qq.com)  


I. Open your Android Studio's bin directory, such as 'D:\Android Studio\bin' 
 

II. Using text editor to edit Android Studio config file. 

For x64 system, open 'studio64.exe.vmoptions'; for win32 system, open 'studio.exe.vmoptions' 
 

III. Add 3 lines configuration to the end of file. 

-Djava.net.preferIPv4Stack=true
-Didea.updates.url=http://android-mirror.bugly.qq.com:8080/AndroidStudio/patches/updates.xml
-Didea.patches.url=http://android-mirror.bugly.qq.com:8080/AndroidStudio/patches/ 

IV. Restart Android Studio, then you will find upgrade Android Studio so easy. 



Click 'Update and Restart'. 

After restart, Android Studio start to apply patch. 
 
But, Android Studio will validate installation configurations, it will restore our change, so you need update config before you update next time. 
 
NOTE!! Some big version, u need download Android Studio, and upgrade it manually. 


Powered by Tencent Bugly. Copyright© 2015, Tencent. All Rights Reserved.

你可能感兴趣的:(奇计淫巧工具篇,Android)