From terminal unable to locate package error. I have already added repository.
2 Answers
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.
- 103,263
Go to Download Android Studio and download the zip file, extract the 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
When you launch android studio for the first time, it will download some components.

- 253

