I have not updated my Android Studio for a while and am presented with this dialog box when trying to update:
I found a solution without reinstalling the AS!
As the sollution in https://code.google.com/p/android/issues/detail?id=56068 goes, We can manually download the patch.
But for examble, if I put the number of current version and newest version in the URL http://dl.google.com/android/studio/patches/AI-(current_version)-(newest_version)-patch-unix.jar
, I got a 404 error, which means there is not a patch between my version and the current version.
At last, I found the solution. For example, the version of my Android Studio is 141.2135290, then I find the version closest to my version (just now is 141.2178183) instead of the newest version "141.2288178", and I got the patch!
But unfortunately, I have modified the file in the folder of Android Studio, so the patch didn't work well, otherwise it will work well.
Try this :
Go to Help > Check for Update
and this worked for me - 1.0
to 1.1
.
If anybody uses Ubuntu and has the same problem....
For me, AS always crashed after the download of a patch was complete. Then I wanted to figure out what's going on by launching AS from the console to see the output (I have AS as icon in Dash menu and usually launch it from there).
After launching AS from console I clicked the update popup again, it downloaded but suddenly, it did not crash anymore. Suddenly it asked me if I want to exit a running background process, I clicked "exit", AS installed the patch and rebooted (what is usually not working either).
Here is how you update when you are not presented with a Update and Restart
button, but instead only have a Download
button. The solution involves a side-by-side installation, which is an acceptable and supported configuration1
Android Studio
folder, and another set of code under the android-studio-beta
folder. The android-studio-dev
is the folder created from the downloaded zip file.../bin/studio64.exe
inside the the unzipped folder and select the appropriate place to pull your configuration from.
Note that if you are unsure of which configuration is connected to which install, you may examine the .home
file:
Note here that the AndroidStudioPreview2.2
configuration set is aligned with the installation located at android-studio-beta
, and not with the installation located at Android Studio
(the two options shown in step 2). Wait for the installation to complete, then exit.At some point, probably once you're satisfied that the new installation will work you you, you may remove the previous installation.
1 Here is an official page to show that it's ok to have side-by-side installs: Android site multiple installation page
well ,you can go ahead and download the patch and unzip it . In its bin directory run studio64.exe file it will ask to import configuration from older version just click that option and get your newer version running
I too ran into this problem. I did not want to uninstall and reinstall it again. What I did was to unzip the downloaded file and just copy and replaced the bin, lib, license and plugins folder into my original install path and it worked.
I am on Windows.