Ubuntu – How to update Android Studio in Ubuntu

android-studio

I am trying to update from version 2.0.0 to version 2.1.2 in Ubuntu 64bit/14.04LTS but when I click "update and restart" it says "Downloading patches" and it closes.

It does not start again and if I try to open it, the version is still 2.0.0.

Is there any tutorial to manually update android studio? (keep all settings and etc).

Best Answer

The first time I installed Android Studio, I followed the instructions given at: https://www.linuxbabe.com/ubuntu/install-android-studio-ubuntu-16-04

Basically

sudo add-apt-repository ppa:maarten-fonville/android-studio

sudo apt update

sudo apt install android-studio

With this you have a clean installation of android studio

Then, when I need to update it, I just rerun

sudo apt install android-studio

If you didn't use this method, it's worth a try. It is cleaner in the long run.

Related Question