{"id":1720,"date":"2021-12-16T12:07:30","date_gmt":"2021-12-16T09:07:30","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/02\/21\/how-to-install-android-studio-in-ubuntu\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/02\/21\/how-to-install-android-studio-in-ubuntu\/"},"modified":"2021-12-16T12:07:30","modified_gmt":"2021-12-16T09:07:30","slug":"how-to-install-android-studio-in-ubuntu","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1720-how-to-install-android-studio-in-ubuntu\/","title":{"rendered":"How to install Android Studio in Ubuntu"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>If you\u2019ve switched to Ubuntu from Mac OS or Windows to do Android development, you\u2019ll need to know how to install Android Studio. In this guide, we\u2019ll show you how to do just that. Follow along as we go over how to install Android Studio on Ubuntu.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-279115 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-android-studio-in-ubuntu.png\" alt=\"install Android Studio in Ubuntu\" width=\"1200\" height=\"717\"\/><\/p>\n<h2>How to install Android Studio in Ubuntu \u2013 Manually install via download from the website<\/h2>\n<p>Google distributes a downloadable version of Android Studio that is Linux distribution agnostic. This version is ideal for Ubuntu users.<\/p>\n<p>To start the installation of Android Studio via the download version, open up a terminal window. You must install the required 32-bit libraries. These libraries enable Ubuntu 64-bit Android Studio to function correctly.<\/p>\n<pre>\nsudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386\n<\/pre>\n<p>These libraries won\u2019t take too long to install. Once they\u2019re done, you\u2019ll need to download the Android Studio package to your Linux PC. Head over to the \u201cDownload\u201d section on the Android developer website.<\/p>\n<p>On the \u201cDownload\u201d page, there are several options to choose from. Select the \u201cDOWNLOAD ANDROID STUDIO\u201d button on the page. After selecting the download button, your browser will download \u201candroid-studio-ide-201.7042882-linux.tar.gz\u201d to your \u201cDownload\u201d folder.<\/p>\n<p>The \u201candroid-studio-ide-201.7042882-linux.tar.gz\u201d file will take a bit of time to download, as it is roughly 800 megabytes. When the download is complete, return to the terminal window opened earlier. Then, use the\u00a0<strong>CD\u00a0<\/strong>command to move into the \u201cDownloads\u201d folder.<\/p>\n<pre>\ncd ~\/Downloads\n<\/pre>\n<p>Once inside the \u201cDownloads\u201d folder, use the <strong>tar\u00a0<\/strong>command to extract the Android Studio Linux archive contents downloaded from the Android developer website.<\/p>\n<pre>\ntar xvf android-studio-ide-*-linux.tar.gz\n<\/pre>\n<p>After running the above\u00a0<strong>tar\u00a0<\/strong>command, everything will be fully extracted inside a new \u201candroid-studio\u201d folder inside the \u201cDownloads\u201d directory on your Ubuntu PC. You must now start up the Android Studio installer.<\/p>\n<p>To start up the Android Studio installer, use the\u00a0<strong>CD\u00a0<\/strong>command and move into the \u201cbin\u201d folder inside of the \u201candroid-studio\u201d folder.<\/p>\n<pre>\ncd bin\n<\/pre>\n<p>Inside the \u201cbin\u201d folder, execute the \u201cstudio.sh\u201d shell script. This shell script will open up a GUI installer that you will need to use to install the Android Studio software on your Ubuntu Linux PC.\u00a0<\/p>\n<pre>\n.\/studio.sh\n<\/pre>\n<p>Upon running the \u201cstudio.sh\u201d shell script, a \u201cData Sharing\u201d window will appear. In this window, the Android Studio installer will ask if you want to allow Google to collect Android Studio usage data on your PC. Select either \u201cSend usage statistics to Google\u201d or \u201cDon\u2019t send\u201d if you value your privacy.<\/p>\n<p>After selecting your data sharing option, the Android Studio Setup Wizard will present a welcome message. The welcome message says, roughly, \u201cWelcome! This wizard will set up your development environment for Android Studio.\u201d Click on the \u201cNext\u201d button to continue.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-395772 size-full\" src=\"https:\/\/www.addictivetips.com\/app\/uploads\/2021\/02\/android-studio-wizard-start-fs8-fs8.png\" alt=\"\" width=\"1200\" height=\"648\"\/><\/p>\n<p>Past the welcome message, the installer will ask what type of Android Studio setup you prefer. Select the \u201cStandard\u201d option, and click the \u201cNext\u201d button to continue.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-395774 size-full\" src=\"https:\/\/www.addictivetips.com\/app\/uploads\/2021\/02\/android-studio-wizard-type-fs8-fs8.png\" alt=\"\" width=\"1200\" height=\"646\"\/><\/p>\n<p>Following choosing the type of installation for Android Studio, you will be required to select a theme. Select from either \u201cDarcula\u201d or \u201cLight,\u201d then press the \u201cNext\u201d button to continue.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-395773 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-android-studio-in-ubuntu-3.png\" alt=\"\" width=\"1200\" height=\"653\"\/><\/p>\n<p>When you\u2019ve chosen the theme, you\u2019ll see an overview of what Android Studio is going to install. Read through the summary. Then, press the \u201cNext\u201d button to begin the installation process.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-395770 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-android-studio-in-ubuntu-5.png\" alt=\"\" width=\"1201\" height=\"653\"\/><\/p>\n<h2>How to install Android Studio in Ubuntu \u2013 Flatpak installation\u00a0<\/h2>\n<p>If the standalone downloader doesn\u2019t suit you on Ubuntu, another way to get the Android Studio working on Ubuntu is via Flatpak. The Flatpak installation method is excellent, especially if you\u2019re the kind of person that doesn\u2019t like to tinker with the Android Studio installer.<\/p>\n<p>To start, open up a terminal window and configure the Flatpak runtime. It is required to install Flatpak packages. Unsure about how to configure the Flatpak runtime? We can help! Follow along with our in-depth guide here.<\/p>\n<p>After you\u2019ve set up the Flatpak runtime, the next step in the installation process is to set up the Flathub app store. This app store has the Android Studio package. To get it working, enter the\u00a0<strong>flatpak remote-add\u00a0<\/strong>command below.<\/p>\n<pre>\nflatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo\n<\/pre>\n<p>Once Flathub is set up, you\u2019ll be able to install the latest Android Studio on your Ubuntu PC using the\u00a0<strong>flatpak install\u00a0<\/strong>command.<\/p>\n<pre>\nflatpak install flathub com.google.AndroidStudio\n<\/pre>\n<h2>How to install Android Studio in Ubuntu \u2013 Snap package installation<\/h2>\n<p>Aside from being available on Flathub, Android Studio is also available for installation via the Ubuntu Snap Store. So, if you want an easy way to get Android Studio but don\u2019t like Flatpak, this is the way to go.<\/p>\n<p>To start the installation, open up a terminal window. Once the terminal window is open, you can install the Android Studio app with\u00a0<strong>snap install<\/strong>.<\/p>\n<pre>\nsudo snap install android-studio --classic\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles If you\u2019ve switched to Ubuntu from Mac OS or Windows to do Android development, you\u2019ll need to know how to install Android Studio. In this guide, we\u2019ll show you how to do just that. Follow along as we go over how to install Android Studio on Ubuntu. How to install Android Studio in &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1721,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19,21],"tags":[27,33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1720"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1720"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1720\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1721"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}