Can't update Android Studio - only download

后端 未结 12 1614
北荒
北荒 2020-11-28 13:18

I have not updated my Android Studio for a while and am presented with this dialog box when trying to update: \"enter

12条回答
  •  萌比男神i
    2020-11-28 13:46

    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

    1. Download the zip file
    2. Extract the zip file in the same location folder your previous installation (adjacent to, not overlaying) Note here that I already had two versions of Android Studio running. The executables under the 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.
    3. Start ../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.
    4. Change your start icon from the previous location to the new location, and restart from the icon.
    5. Reassert your updates channel before accepting any update prompts. As you use your various installations, make sure that your preferred updates channel hasn't changed. I can't be sure, but it seems like this setting might leak across during installs. Better safe than sorry. The image is of my old install, which I did not want to affect by this upgrade.

    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

提交回复
热议问题