Can't update Android Studio - no “Update and R

2019-01-15 05:51发布

问题:

My Android Studio (0.4.3 now) often displays a message that is ready to update, but the alert does not have an "Update and Restart" button:

I want to install this update but I don't know how I can do this. After I click the "Remind Me Later" button few times, the fourth button on the left is sometimes visible, allowing me to download and install the update. I haven't discovered any pattern when this button shows up and when it doesn't.

Why isn't it always visible?

回答1:

This is bug https://code.google.com/p/android/issues/detail?id=56737. If you dismiss the dialog and check for updates again, you usually get the button you're looking for. I don't know why this happens.



回答2:

I have found a temporary solution for this problem (until they release a fix for it).

  1. When Android Studio opens and the update popup shows up without the button, close it with the X button.
  2. Press Ctrl+Shift+A to open action search dialog, enter Event Log and open it.
  3. There will be a message telling that Android Studio is ready to update and the word update is a link that will open a window with an Update and restart button.



回答3:

Actually this issue is kind a bug not really a bug :). This is what you need to do

When an update is available, you'll see a balloon notification in the IDE.

Two important known issues:

1. The first time, you'll see a dialog that asks you to accept this channel. You need to press "More info" to accept this channel, otherwise you won't get notified about updates.

2. If you press the "Ignore This Update" button, there is currently no mechanism available to revert that decision and Android Studio will never tell you about that update ever again.

For more info. visit : Android Tools Project Site

below is snap from android tools official site



回答4:

I am not sure why the button is not available, It might be possible that the version you have currently can't be upgraded to the latest version directly.

In such cases follow the steps mentioned below :

Download the latest OS respective Android Studio as zip(sdk excluded) from here :

http://tools.android.com/download/studio/canary

  • Extract the downloaded Zip file somewhere
  • Close Android studio if running.
  • Go to current Android Studio installation directory.
  • Take a backup(safer side) of that and replace everything except sdk directory with the content of extracted Zip file .

This also allows you to update studio in an offline system.