Android Studio: “Update & Restart” doesn't work

前端 未结 4 652
北海茫月
北海茫月 2020-12-30 20:17

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 w

相关标签:
4条回答
  • 2020-12-30 20:40

    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.

    0 讨论(0)
  • 2020-12-30 20:53

    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.

    0 讨论(0)
  • 2020-12-30 20:59

    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.

    0 讨论(0)
  • 2020-12-30 21:05

    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.

    0 讨论(0)
提交回复
热议问题