Reputation: 1823
Every morning after start of Android Studio I became a dialog with information about new version of Android Studio (Beta). If I click on "Update & Restart" the patch will be downloaded (I see the progress bar and the growing file size). After that the Android Studio will be restarted but... the update is not installed! I can repeat it if I click on "Help/Check for update".
Has anybody an idea how to fix this?
P.S. Sure it is possible to download the full version and install it manually, but it would be so convenient to use automatically updates.
Upvotes: 36
Views: 15110
Reputation: 53600
Ah, it happened to me just now. In case you installed the Android Studio via JetBrain's Toolbox then the button is disabled if you start the AS manually. You need to close the AS and open the Toolbox and then update from there.
Upvotes: 2
Reputation: 660
I actually created the issue and it seems they fixed it in the latest release and you have to download it manually from here and update mechanism should be fine.
Upvotes: 2
Reputation: 107
I successfully updated my AS from 2.1.1 to 2.2.2, by the following way:
File > Close Project. Close AS.
restart AS, it will not open any project and show you a project list, but please don't open any project.
wait for AS to popup a dialog to remind you there is a new version.
click "update & restart".
after restart, it may remind you import previous configuration files.
import configuration, open a project, you will see the new version number.
hope this will help.
Upvotes: 7
Reputation: 1823
I've solved the problem. It is important how Android Studio was started. If I start it with a workspace parameter:
/android-studio/bin/studio.sh /<path_to_workspace>
then the update doesn't work.
So the solution is to start the Android Studio without any parameters.
Upvotes: 47