Android studio установка ubuntu tar gz

How to install Android Studio on Ubuntu 20.04

Android Studio is the most widely used software for android mobile application development. Android Studio is developed by Google and it can run on different operating environments like Windows, macOS, and Linux. Most of the current popular android applications are developed on Android Studio. This tool has various built-in features that provide a stable and fast environment for developing applications.

In this article, we will show you how to install Android Studio on a Ubuntu 20.04 Linux system.

Installation of Android Studio on Ubuntu 20.04

We have two different ways to install Android Studio on an Ubuntu 20.04 system. These are as follows:

  1. Install android studio by adding android-studio repository
  2. Install android studio through snap

Method 1: Install Android Studio through the repository

Using this method, you will install the android studio on your Ubuntu 20.04 system by adding its official repository to your source list. But first, you need to make sure some prerequisites packages must be installed on your Ubuntu system. Follow the following steps to install Android Studio through the repository:

Step 1: Install Java JDK on Ubuntu 20.04

You need to install Java JDK software which is required for the android studio. So, you will install Java JDK using the following command if it is not already installed on your system:

If Java is already installed on your system then, you will skip this step to save your time.

Step 2: Add android-studio repository

Now, you will add the android studio official repository to your system. For this purpose, use the following command on the terminal:

During the installation, the prompt will display on the terminal, you will hit ‘Enter’ to continue adding its repository otherwise if you want to cancel this action then you will press ‘Ctrl – c’ to cancel adding the repository to your system.

Step 3: Update the apt cache

After successfully adding the android repository, you will update your system apt-cache using the following command:

Step 4: Install Android Studio

Now it’s time to install the android studio on your Ubuntu 20.04 system using the apt package manager. With the help of the following command you will install Android Studio with all its dependencies: Advertisement

Step 5: Launch Android Studio

After completing the installation of the Android Studio, you will launch it using the application launcher search bar. For that purpose, click on Activities which is located at the top left corner of your desktop on the Ubuntu 20.04 system. Now, type the keyword ‘Android Studio’ in the search bar. As you will see the Android studio icon in search results as follows:

Читайте также:  Андроид не видит wifi 5ггц

Click on the android studio icon and configure the setting of the android studio on the Ubuntu 20.04 system. Select don’t import settings as follows:

It will search for available SDK components on the following screen:

Now, the Android setup wizard will start on your system. Click on Next as follows:

Choose the install type Standard or Custom. Choose the Standard option and click on Next button as follows:

Now, you need to select the user interface theme. Choose Light and click on Next.

You can also choose another theme for the android studio as well.

If you want to change any setting the click on the ‘Previous’ button. Otherwise, review the wizard setup settings and click on Next.

Now, formal emulator settings will display on the dialog window. Click on the Finish button.

After that, the necessary components will begin to download on your system as follows:

Once the download is complete, now you will click on Finish.

Now, the following window will display on your system from where you can use android studio on your system. Choose option Start a new android studio project to create a new application.

Congratulations! Android Studio has been installed and configured on your system Ubuntu 20.04.

Method 2: Install Android Studio through snap

You can install the android studio using snap on your Ubuntu system using the following command:

You can also install android studio using the below-mentioned command:

In this article, we implemented two different methods to install Android Studio on your Ubuntu 20.04 system. I hope you enjoyed this article. Now, you are able to install the android studio on any Ubuntu system.

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Источник

How To Install Android Studio on Ubuntu 20.04

CONTENTS
SHARE

Android Studio is a powerful integrated development environment for Android development, based on IntelliJ IDEA. It is the first choice for an app developer who is developing applications for Google’s Android operating system.

It is available for Windows, Linux, macOS, and Chrome OS.

Here, we will see how to install Android Studio on Ubuntu 20.04.

System Requirements

Software Requirement

  • Graphical Interface (GNOME or KDE Desktop)
  • 64-bit OS capable of running 32-bit applications

Hardware Requirement

  • RAM: Minimum – 4GB / Recommended – 8GB
  • DISK: Minimum – 2GB / Recommended – 4GB

Ensure your system’s CPU supports Intel VT / AMD SVM or not.

Output:

If the above output is non-zero, then your machine has Intel or AMD virtualization support.

Install Android Studio on Ubuntu 20.04

Follow any one of the methods to install Android Studio on Ubuntu 20.04.

1. Install Android Studio Using Ubuntu Software Center

Open up the Ubuntu Software Center from Activities В» Search for Ubuntu Software.

Open Ubuntu Software

Search for Android Studio and then click Android Studio on yielded search results.

Читайте также:  Папа луи андроид бургер

Search Result

Click the Install button to begin the installation of Android Studio.

Install Android Studio

You would need to enter your password to install Android Studio.

Authentication

The installation may take a while.

Android Studio Installation In Progress

Once the installation is complete, you can open Android Studio from Activities В» Search for Android Studio.

2. Install Android Studio Using Snap

Snap will setup the environment for Android Studio. So, first, install the Snap package management in case your system does not it already installed.

Install Android Studio using the Snap command.

The installation would take at least 10 or 15 mins to complete. Upon completion, verify the Android Studio installation using the below command.

Output:

Once the installation is complete, you can open Android Studio from Activities В» Search for Android Studio.

3. Install Android Studio From Official Archive

First, install 32-bit libraries for Android Studio installation

Next, open a browser and visit the below link to download the latest version of Android Studio from the official website.

OR

Use the below command to download from the terminal.

Go to the Downloads directory or the directory where you have downloaded the Android Studio and then extract the downloaded archive using tar command.

Link the executable to /bin directory so that you can quickly start Android Studio using android-studio command.

Create a .desktop file under /usr/share/applications directory to start Android Studio from Activities menu.

Use the following information in the above file.

Access Android Studio

Start Android Studio by going to Activities В» Search for Android Studio.

Start Android Studio

OR

Android Studio running on Ubuntu 20.04:

Android Studio Running on Ubuntu 20.04

Conclusion

That’s All. You have successfully installed Android Studio on Ubuntu 20.04.

Источник

Android Studio 4.0, разные варианты установки в Ubuntu 20.04

В следующей статье мы рассмотрим, как установить Android Studio 4.0 на Ubuntu 20.04. Как многие знают, это программное обеспечение для разработки, используемое специально для разработки приложений для Android. Он разработан Google и доступен для различных платформ, таких как GNU / Linux, Windows и macOS.

Многие приложения для Android сегодня разрабатываются с помощью Android Studio. Там пользователи могут найти множество функций, которые обеспечивают быстрая и стабильная среда разработки. Кроме того, он имеет надежную среду тестирования, которая поддерживает поддержку нескольких дисплеев, эмуляторы и многое другое.

Общие возможности Android Studio 4.0

  • Мы можем рассчитывать на редактор визуального дизайна. Благодаря этому мы можем создавать сложные конструкции с ConstraintLayout добавление ограничений от каждого представления к другим представлениям и рекомендациям. Затем мы можем предварительно просмотреть наш дизайн на экране любого размера, выбрав одну из различных настроек устройства или просто изменив размер окна предварительного просмотра.
  • Он имеет Анализатор APK. Мы найдем возможности уменьшить размер наших приложений Android, проверяя содержимое APK-файла каждого приложения, даже если мы не создаем его с помощью Android Studio. Также мы сможем купить два APK чтобы увидеть, как размер приложения менялся между разными версиями приложения.
  • Быстрый эмулятор. У нас будет возможность устанавливать и запускать наши приложения быстрее, чем на физическом устройстве, и моделировать различные конфигурации и функции. К ним относятся ARCORE или платформа Google для создания опыта дополненной реальности.

  • У нас будет умный редактор кода. Мы сможем писать лучший код, работать быстрее и продуктивнее с помощью интеллектуального редактора кода, который обеспечивает автозавершение кода для языков Kotlin, Java и C / C ++.
  • Гибкая система строительства. Система сборки Android Studio, разработанная Gradle, позволит нам настраивать сборку. Благодаря этому мы сможем сгенерировать несколько вариантов компиляции для разных устройств из одного проекта.
  • Лас- инструменты профилирования Встроенная статистика предоставляет статистику в реальном времени о процессоре, памяти и сетевой активности нашего приложения.
Читайте также:  Морские карты залива петра великого для андроид

Установите Android Studio на Ubuntu 20.04

Перед тем как приступить к установке, давайте выберем какую из них выберем, она будет необходима Установите в систему пакет Java JDK для Android Studio. Если он еще не установлен в вашей системе, вы можете установить его с помощью команды:

Скачать прямо из Интернета

Первым вариантом использования этого программного обеспечения будет перейдите на сайт проекта, чтобы скачать программу. Оказавшись в нем, все, что вам нужно сделать, это нажать кнопку с надписью «СКАЧАТЬ СТУДИИ ANDROID».

Экран, который будет показан ниже, предназначен для принять условия использования. После этого начнется загрузка файла tar.gz с программой.

После завершения загрузки из терминала (Ctrl + Alt + T) мы перейдем в папку, в которой мы сохранили файл. Тогда вам просто нужно использовать следующую команду, чтобы разархивируйте загруженный файл:

Приведенная выше команда распакует пакет из моего каталога загрузки в каталог с именем андроид-студия в моей домашней папке. Теперь перейдем во вновь созданную папку и внутри папки bin. Там вам просто нужно запустить файл «studio.sh следующим образом, чтобы начать установку:

к больше информации о настройкахвнутри папки андроид-студия, мы найдем файл с именем «Install-Linux-tar.txt ». Внутри мы можем прочитать инструкции по настройке установки.

Использование оснастки

Обычно в снэпкрафт Мы можем получить гораздо более свежую версию, чем в обычном репозитории apt. На момент написания мы можем найти версию 4.0.0.16 доступной. Для установки в Ubuntu все, что вам нужно сделать, это открыть терминал (Ctrl + Alt + T) и выполнить команду:

Наконец, мы можем запустить программу ищем соответствующий лаунчер в нашей команде.

Использование репозитория

Мы можем установить Android Studio, добавив официальный репозиторий в наш список источников, хотя в данном случае версия, которая собираюсь установить на данный момент это будет 3.6.1. Чтобы добавить репозиторий в терминал (Ctrl + Alt + T), просто используйте следующую команду:

Выполнение указанной выше команды должно добавить репозиторий и обновить кеш apt. Как только обновление будет завершено, мы сможем установить Android Studio используя следующую команду:

Он может узнать больше об Android Studio в руководстве пользователя что они предлагают в сайт этого проекта.

Содержание статьи соответствует нашим принципам редакционная этика. Чтобы сообщить об ошибке, нажмите здесь.

Полный путь к статье: Убунлог » Ubuntu » Android Studio 4.0, разные варианты установки в Ubuntu 20.04

Вы можете быть заинтересованы

2 комментариев, оставьте свой

Оставьте свой комментарий Отменить ответ

Разработанный Google и Jetbrains, некоторые обновления требуют гораздо большей работы от Jetbrains, чем от Google. И поскольку мы говорим о Jetbrains, глядя на код Intellij, я чувствую, что в не столь отдаленном будущем они полностью перестанут использовать платформу Java, потому что внутри Intellij появляется все больше и больше кода Kotlin, и следующим шагом будет компилятор. владеть ими и расстаться с Java для интерпретации байт-кода? Что вы думаете? Разорвут ли они эту зависимость или продолжат? Было бы хорошо на уровне предприятия отказаться от Java и получить полную независимость? Ресурсов и талантов хватает, их инструменты исключительны и широко используются многими программистами.

Часть установки репозиториями мне пригодилась.

Источник

Оцените статью