简体   繁体   English

Android studio更新和重启不起作用

[英]Android studio update and restart doesn't work

In case of android studio or any other jetbrains ide update and restart doesn't work . 在android studio或任何其他jetbrains ide的情况下更新和重启不起作用。 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 . Android工作室下载更新并重新启动,但重新启动后,android studio的版本保持不变。 It happens also for other jetbrains ide . 它也适用于其他的jetbrains ide。 I have checked the following question but didn't came to any help 我检查了以下问题,但没有得到任何帮助

Android Studio: “Update & Restart” doesn't work Android Studio:“更新并重新启动”不起作用

Can't update Android Studio - no “Update and Restart” button 无法更新Android Studio - 没有“更新并重新启动”按钮

My OS is ubuntu 16.04 64 bit 我的操作系统是ubuntu 16.04 64

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. 我不确定原因,但不知何故,当我们通过桌面快捷方式或启动器(在UBUNTU中)启动IDE时,IDE的更新程序无法访问更新程序。
So to overcome this problem, I always start Android Studio and IntelliJ IDEs via Terminal this somehow solves my problem. 所以为了解决这个问题,我总是通过终端启动Android Studio和IntelliJ IDE,以某种方式解决了我的问题。

please do not start the IDE by using ./studio.sh , instead use studio.sh directly, obviously by specifying the whole path 请不要使用./studio.sh启动IDE,而是直接使用studio.sh ,显然是通过指定整个路径

PS I couldn't do much research on this weird behavior so can not say the reason why it happens this way. PS我无法对这种奇怪的行为进行太多研究,所以不能说出这种情况发生的原因。 If anyone knows the reason please add the comment or edit this answer. 如果有人知道原因,请添加评论或编辑此答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM