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)
Prashant Chikhalkar
  • 2,411
  • 2
  • 18
  • 25
Ashu_FalcoN
  • 2,118

2 Answers2

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 :

Bilal
  • 3,699
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. ;)

A.B.
  • 90,397