0

I tried to install andorid studio with PPA :

But after install running

 sudo apt-get install android-studio

is giving error :-

    Setting up android-studio (4.11.0-ubuntu0) ...
Archive:  /opt/android-studio-ide-141.2117773-linux.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /opt/android-studio-ide-141.2117773-linux.zip or
        /opt/android-studio-ide-141.2117773-linux.zip.zip, and cannot find /opt/android-studio-ide-141.2117773-linux.zip.ZIP, period.
find: `/opt/android-studio/': No such file or directory
find: `/opt/android-studio/': No such file or directory
dpkg: error processing package android-studio (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 android-studio
E: Sub-process /usr/bin/dpkg returned an error code (1)
4
  • did you use this PPA : sudo add-apt-repository ppa:paolorotolo/android-studio ?
    – Bilal
    Aug 8, 2015 at 15:23
  • @Serphiroth yes ! Aug 8, 2015 at 15:28
  • Why don't you download the zip file directly from the Android Studio site, and unzip/install it ?
    – Bilal
    Aug 8, 2015 at 15:44
  • possible duplicate of Android studio installation on 14.04
    – Fabby
    Aug 8, 2015 at 20:43

2 Answers 2

1

How to install Android Studio :

1 - Download All Android Studio Packages for linux from here .

2 - Unpack the downloaded ZIP file into an appropriate location for your applications (for instance, in your home directory).

unzip android-studio-ide-141.2117773-linux.zip

3 - Go to the android-studio/bin/ by typing:

 cd /home/<user_name>/android-studio/bin/

(Replace <user_name> by your login user)

4 - And type :

sudo chmod u+x studio.sh

5 - After pressing enter, you will be prompt for root password, after entering password, hit enter and then type :

./studio.sh

Source :

1
  • 1
    This is the preferred way. It even asks you to automatically create lauchers
    – 0xAffe
    Aug 8, 2015 at 16:39
0

This was a temporary problem. Try it again and it will work. I have installed Android Studio using the PPA in this moment.

This does not mean that the problem can not reoccur.

A complete step-by-step guide to install Android Studio and create a desktop file you can find here.

Sorry for the short answer, but that's it. ;)

1
  • Flagged for duplication! :P
    – Fabby
    Aug 8, 2015 at 20:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .