Я пытался установить Android Studio с PPA:
Но после запуска установки
sudo apt-get install android-studio
выдает ошибку: -
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)
Это было временной проблемой. Попробуйте его снова, и это будет работать. Я установил Studio Android с помощью PPA в этот момент.
Это не означает, что проблема не может повторяться.
А завершают пошаговое руководство, чтобы установить Studio Android и создать файл на рабочем столе, который можно найти здесь .
Извините за короткий ответ, но вот именно. ;)
, Как установить Studio Android:
1 - Загрузка Все Пакеты Studio Android для Linux от здесь .
2 - Распаковывают загруженный zip-файл в соответствующее местоположение для Ваших приложений (например, в Вашем корневом каталоге).
unzip android-studio-ide-141.2117773-linux.zip
3 - Переходят в android-studio/bin/
путем ввода:
cd /home/<user_name>/android-studio/bin/
(Замена <user_name>
Вашим зарегистрированным пользователем)
4 - И тип:
sudo chmod u+x studio.sh
5 - После нажатия Enter, Вы будете подсказкой для пароля root, после ввода пароля, совершите нападки, введите и затем введите:
./studio.sh
Источник:
>
.
– Thomas W.
1 November 2016 в 08:36