4

In case of android studio or any other jetbrains ide update and restart doesn't work . When I got a notification a new update is available I click update and restart . Android studio download the update and restart but after restarting the version of android studio remains same . It happens also for other jetbrains ide . I have checked the following question but didn't came to any help

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

Can't update Android Studio - no “Update and Restart” button

My OS is ubuntu 16.04 64 bit

Community
  • 1
  • 1
mSapps
  • 601
  • 9
  • 24

1 Answers1

12

I am not sure about the reason, but somehow when we start the IDE through desktop shortcut or launcher (in UBUNTU) the IDE's updater couldn't access the updater.
So to overcome this problem, I always start Android Studio and IntelliJ IDEs via Terminal this somehow solves my problem.

please do not start the IDE by using ./studio.sh, instead use studio.sh directly, obviously by specifying the whole path

P.S. I couldn't do much research on this weird behavior so can not say the reason why it happens this way. If anyone knows the reason please add the comment or edit this answer.

Mohammed Atif
  • 4,383
  • 7
  • 28
  • 57
  • What do you mean using 'studio.sh' directly? – getsadzeg Feb 04 '17 at 11:06
  • if you are newbie to linux, then open terminal in a folder where you have studio.sh file and just run the command `studio.sh` without any prefix or postfix – Mohammed Atif Feb 04 '17 at 11:35
  • @getsadzeg , then please add the path to studio.sh to your profile. or read my previous comment again – Mohammed Atif Feb 04 '17 at 12:01
  • No I think I don't understand. I enter specified directory, the path, and then run 'studio.sh', but it seems there is no command like that, only './studio.sh' – getsadzeg Feb 05 '17 at 11:09
  • then you must probably search for "how to add command path to profile". i dont want to go off topic by answering another answer for different question. @getsadzeg – Mohammed Atif Feb 05 '17 at 14:52