Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to upgrade Android studio in Ubuntu

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.

like image 401
Mohammad Muddasir Avatar asked May 10 '16 07:05

Mohammad Muddasir


3 Answers

Try the following:

  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

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).

like image 89
Yury Fedorov Avatar answered Nov 11 '22 07:11

Yury Fedorov


I solved this problem. i logged as root user then updated the android 2.0 to 2.1 it worked fine and got updated

like image 40
Mohammad Muddasir Avatar answered Nov 11 '22 06:11

Mohammad Muddasir


I also faced this problem.

In 64 bit machine android studio installed in 2 different version 32bit and 64bit. At the time of update and restart 32bit android studio selected by default. and when it load 64bit android studio.

To solve this problem please select 64 bit at the time of update and restart.

hope it will work.

like image 31
Manmohan Kumar Avatar answered Nov 11 '22 05:11

Manmohan Kumar