1

From terminal unable to locate package error. I have already added repository.

2 Answers2

1

Your repository ppa:paolorotolo/android-studio does not contain packages for Ubuntu 17.10 Artful.

Remove it with sudo ppa-purge ppa:paolorotolo/android-studio and/or sudo apt-add-repository -r ppa:paolorotolo/android-studio

then add other PPA (Ubuntu Make) and install package from it

sudo add-apt-repository ppa:lyzardking/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
umake android

the last command will install Android Studio to your home folder with corresponding shortcuts.

N0rbert
  • 99,918
1

Go to Download Android Studio and download the zip file, extract the files.

extract files

Then run the following commands in your terminal

$ cd android-studio-ide-171.4443003-linux

Move the android-studio folder to /opt folder.

$ sudo move android-studio /opt

If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

Then cd into bin

cd ~/opt/android-studio/bin
./studio.sh # this will launch android studio

After launching android studio create a desktop entry by clicking Tool > Create Desktop Entry

enter image description here

When you launch android studio for the first time, it will download some components. enter image description here

Junius L
  • 253