Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: "Update & Restart" doesn't work

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.

like image 724
Valelik Avatar asked Aug 19 '14 09:08

Valelik


People also ask

What is the latest Update for Android Studio?

Android Studio Chipmunk | 2021.2. Android Studio - Chipmunk | 2021.2. 1 Patch 2 is now available in the Stable channel. If you already have an Android Studio build on the Stable channel, you can get the update by clicking Help > Check for Update (Android Studio > Check for Updates on macOS).

Does Android Studio have Android 12?

Within Android Studio, you can install the Android 12 SDK as follows: Click Tools > SDK Manager. In the SDK Platforms tab, select Android 12.

Does Android Studio automatically Update?

There is no built in mechanism for automatically updation of Android Studio. You have to manually download it and configure it.


2 Answers

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.

like image 168
Valelik Avatar answered Sep 20 '22 09:09

Valelik


I successfully updated my AS from 2.1.1 to 2.2.2, by the following way:

  1. File > Close Project. Close AS.

  2. restart AS, it will not open any project and show you a project list, but please don't open any project.

  3. wait for AS to popup a dialog to remind you there is a new version.

  4. click "update & restart".

  5. after restart, it may remind you import previous configuration files.

  6. import configuration, open a project, you will see the new version number.

hope this will help.

like image 44
andy Avatar answered Sep 17 '22 09:09

andy