To download latest version, no Update and Restart button in Android Studio

In Android Studio, you may see “A new version Android Studio available” popup message at the top right corner, whenever latest version available to update.

latest version

When you click on that popup message link, you’ll see a dialog with a button, which allow you Update and Restart Android Studio. But at times you may not see Update and Restart button, as shown below.

dl_issue2

As shown in above image, There’s no button to Update version. You may be wonder why and how you can get install the latest version.

Solution to download latest version:

Here is the solution to fix that issue.

Goto Settings-> Appearance & Behavior -> System Setting -> Click on Updates and then in the right panel you’ll Check Now button.

dl_issue3

Click on Check Now button. It’ll check for the latest update and fixes download issue. Now close the Setting window. And try again to Click on “A new version Android Studio available” popup message link.

You’ll see Update and Restart button. Click on it You’ll get the latest version installed.

dl_issue4

 

Hope it helps somebody.

🙂

You may also interested in

 

Useful Keymap Shortcuts and Settings Android Studio Tips

Hi Guys,
As an Android developer, At a point of time we must have hardly move to Android Studio IDE, as Google no more supporting ADT with Eclipse. As a beginner to Android Studio its hard to find and understand some of keymap shortcuts and settings in it, which are completely different from ADT Eclipse keymaps. Here are few Android Studio Tips, Keymap shortcuts and settings useful for a developer.

Javadoc comments

  • To generate javadoc comments,
    type /** and then press Enter key over a method generates a comment

Organize imports

  • To organize imports, Ctrl + Alt+ O and at times it may not work as expected.
    So, Go to Settings-> and in IDE  settings panel expand Editor -> Auto Import -> Java and make the following changes:
    change Insert imports on paste value to All
    mark Add unambiguous imports on the fly option as checked

as_settings2

 Power save mode

  • If you are not seeing red underline for code errors as  highlighted code, you may be turn  on Power save mode
    So, Go to File-> uncheck Power Save mode

as_settings1

Line numbers

  • If you want to see Line numbers in a code file you can turn on/off by right clicking on workspace left border and Check Show Line Numbers. This applies only for the active file. And these Line numbers will disappears if you close file.

as_settings3

  •  If you want to see Line numbers permanently Go to File-> Settings-> left panel in IDE Settings expand Editor-> select Appearance-> and on right panel check Show line numbers

as_settings4

Quick definition lookup

  • To open a quick definition lookup, i.e. If you want to see the full method implementation when mouse hover on a method call statement, press Ctrl+Shift+I. below is sample screenshot

as_shortcuts

Comments/UnComments

  • For single line Comments/UnComments press Ctrl + /
    For multi line Comments/UnComments press Ctrl + Shift + /

Indentation

  • To format code with correct indentation press Ctrl + Alt + . This keymap works for Java, XML design files too.

Find All Usage

  • To Find(or Search) Usage of a variable or class or method in whole project, place cursor on that search variable or method or class, and press Alt +F7. And you can see all occurrences of the searched item, in a tab opened at the bottom  of editor.

Use soft wraps

  • To apply word wrap go to Settings-> in IDE Settings select Editor ->and in right panel check Use soft wraps in editor.

as_wrap_set

or you can just turn on/off word wrap by select as below..

as_wrap

Lower/Upper case

    • To apply Lower/Upper case for a text in WorkSpace editor, Select a text which need to Uppercase, and Press Ctrl+Shift+U, the text will changed to Uppercase, If you press again same keys, text will changed to Lower case.

Enable ADB Integration

    • If your appliation not showing in Debuggable Applications, you may not see your app log cat properly.app_not_recognizedto see your application in Debuggable applications drop down, you should Enable ADB Integration. Goto Tools-> Android-> Click Enable ADB Integration. You will see your app list in debuggable applicationstools_44

I’ll add more soon..

Hope it helps somebody.

You may be also interested in