Due to controversial's well-known reasons, we sometimes can't update our version of Android studio correctly, Although before I can modify studio.exe.vmoptions inside the option, can reach the update, but do not know when, this method has not been effective, helpless, I found a new method on the network, offline update. The following is the method of offline update, do some elaboration.
Get to your current version number:
Get method: Help->about, get after as shown:
Then get the latest version number:
Open a webpage https://dl.google.com/android/studio/patches/updates.xml
Find the following XML code at the top:
<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> From the code above we can find that the latest version number is:
141.2112779
4. Download the offline upgrade package:
The URL URLs for the download are:
https://dl.google.com/android/studio/patches/ai-$FROM-$TO-patch-win.ja
which
$FROM: Your current version number, such as my current version is: 141.2095413
$TO: Is the version number you want to upgrade, such as I am here to upgrade the version number is: 141.2112779
Then you can download it.
After downloading, copy the files to the root directory of Android studio.
CMD is then opened in the current directory. Execute the following command:
Java-classpath Ai-130.737825-132.843336-patch-win.jar com.intellij.updater.Runner Install.
Note that there is finally a "." Symbol, meaning is the current directory.
You have successfully upgraded your Android Studio. Enjoy it!
android-when Android Studio update encounters Connetion failed ...