Reputation: 975
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.
Upvotes: 10
Views: 4166
Reputation: 56
Start Android studio from /android-studio/bin/studio.sh, and then restart update process
Upvotes: 0
Reputation: 14938
Try the following:
cd ~/android-studio
bin
subfolder:
cd bin
studio.sh
file has run permissions:
chmod +x studio.sh
./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).
Upvotes: 12
Reputation: 330
What you have to do is simple:
studio.sh
Let me know if it works
Upvotes: 0
Reputation: 326
As an alternate solution, you can download the Android Studio version that you want to upgrade to directly. For instance, 2.1 is located here:
Make sure that you import your old settings. Also, pull your SDK out of the old install folder and point the new installation at it, if necessary. This will ensure consistency across installs.
Upvotes: 0
Reputation: 975
I solved this problem. i logged as root user then updated the android 2.0 to 2.1 it worked fine and got updated
Upvotes: 3
Reputation: 434
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.
Upvotes: 2