Android Studio cannot update

I am running Mint 14 (Linux) and am facing a serious problem when using Android Studio. When the update function starts, all packages are returned as "ACCESS DENIED". How can i fix this? How can I provide permission to download and install.

Additional information: studio.sh ends from my root directory in the directory / usr / bin / android -studio / bin

Thanks for your help, my level depends on it.

+5
source share
5 answers

Perhaps this is due to the fact that you do not have enough rights. Try changing the owner of the studio installation folder. Try the following command.

sudo chown -R $USER:$USER /usr/bin/android-studio

+11
source

go to android studio Click Help โ†’ Check for Updates โ†’ You will be asked to run as root ... usr / local / etc / android-studio is provided with a specific directory go to usr / local / etc / android -studio / bin ... Then run sudo sh studio.sh

- It will update as soon as you press enter ... I hope this helps the broker.

It is a pity that I answered late, although in any case it will help others

+2
source

if you use Ubuntu android 3.0v and get an error when upgrading to the latest version, and if you installed android studio using the example of the official Android installation guide, then you need to run sudo chown -R $USER:$USER/usr/local/android-studio/ this is praise in your terminal

and make sure your android studio folder is accessible in / local / or in any other folder and make the necessary changes to the path / usr / etc

0
source

In the latest version of Android Studio, updates are processed instantly, so you can type the โ€œsnap refreshโ€ command in the Android Studio terminal to also update Android Studio.

0
source

I think this is too late for you, but the problem is that you are not running android studio in the root.

Go to / android -studio / bin in the console and run "sudo sh studio.sh" and you click to update the software.

-one
source

Source: https://habr.com/ru/post/1501521/


All Articles