无法在Ubuntu中升级Android Studio [英] Unable to upgrade Android studio in Ubuntu

查看:350
本文介绍了无法在Ubuntu中升级Android Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前使用的是android studio 2.0,但希望将其更新为2.1,因为它已在稳定版上发布.现在,当我按下更新并重新启动"按钮时,它会下载补丁,然后退出,但不会自行重启.因此,我手动启动它以检查更新是否成功,但仍显示android studio 2.0和相同的对话框"Android Studio准备更新了".我做了很多次,但没有成功.我正在使用Linux Ubuntu System 14.04 LTS.

I am currently using android studio 2.0 but wanted to update it to 2.1 as its been released on the stable channel. Now when I press on "Update & Restart" button ,it downloads the patch and then will exit but wont restart by its own.So I am starting it manually to check if update was successful but it still shows android studio 2.0 and same dialogue "Android studio is ready to update". I did it many times but no success. I am using Linux Ubuntu System 14.04 LTS.

推荐答案

尝试以下操作:

  1. 下载补丁并关闭Android Studio后,打开终端
  2. 转到您的android studio文件夹,例如 cd ~/android-studio
  3. 转到bin子文件夹: cd bin
  4. 确保您的studio.sh文件具有运行权限: chmod +x studio.sh
  5. 从此处运行Android Studio:./studio.sh
  1. After the patch was downloaded and Android Studio closed, open the terminal
  2. Go to your android studio folder, e.g. cd ~/android-studio
  3. Go to bin subfolder: cd bin
  4. Make sure your studio.sh file has run permissions: chmod +x studio.sh
  5. Run Android Studio from here: ./studio.sh

此后,Android Studio将找到并安装补丁.然后,您可以关闭Android Studio并以常规方式运行它(无论您喜欢哪种方式,我都可以从Launcher pad运行它).

After that Android Studio will find the patch and install it. Then you may close Android Studio and run it the regular way (whatever way you prefer, I run it from Launcher pad).

这篇关于无法在Ubuntu中升级Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆