0

I'm trying to install Android Studio but I found this error. Can someone help me?

If I write on terminal sudo apt-get install android-studio

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package android-studio
Zanna
  • 72,312

3 Answers3

3

APT-GET can't see any program to install when it isn't in repositories base.

You've forgotten the first and second line ;-)

sudo add-apt-repository ppa:paolorotolo/android-studio
sudo apt-get update
sudo apt-get install android-studio

Hope it help

0

Unless it's the newest version of Ubuntu, which I believe is currently 20.04, or uses Snap as the software handler... Then it has to be;

sudo add-apt-repository ppa:paolorotolo/android-studio
sudo apt-get update
sudo snap install android-studio --classic

Hope this assists anybody who ends up requiring my small bit of input.

0

An easy way to install Android-Studio without any serious problems is to first install Ubuntu-make: sudo apt install umake, and then run umake android android-studio. It should install flawlessly.

jack0da
  • 248