Android 工作室更新和重启不起作用

Android studio update and restart doesn't work

如果 android studio 或任何其他 jetbrains ide 更新和重启不起作用。当我收到一个新更新可用的通知时,我单击更新并重新启动。 Android studio 下载更新并重启,但重启后 android studio 的版本保持不变。其他 jetbrains ide 也会发生这种情况。我检查了以下问题,但没有得到任何帮助

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

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

我的OS是ubuntu 16.04 64

我不确定原因,但是不知何故,当我们通过桌面快捷方式或启动器(在 UBUNTU 中)启动 IDE 时,IDE 的更新程序无法访问更新程序。
因此,为了克服这个问题,我总是通过 Terminal 启动 Android Studio 和 IntelliJ IDEs,这以某种方式解决了我的问题。

请不要使用./studio.sh启动IDE,而是直接使用studio.sh,显然是通过指定整个路径

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.