{"id":592,"date":"2024-06-26T07:58:27","date_gmt":"2024-06-26T07:58:27","guid":{"rendered":"https:\/\/zahiralam.com\/blog\/?p=592"},"modified":"2024-10-24T05:20:08","modified_gmt":"2024-10-24T05:20:08","slug":"how-to-install-android-studio-on-ubuntu-24-04-a-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/zahiralam.com\/blog\/how-to-install-android-studio-on-ubuntu-24-04-a-step-by-step-guide\/","title":{"rendered":"How to Install Android Studio on Ubuntu 24.04: A Step-by-Step Guide"},"content":{"rendered":"\n<p>Android Studio is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA. It provides a robust environment for coding, testing, and deploying Android apps. This guide will walk you through the steps to install Android Studio on an Ubuntu system.\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>Before we start, make sure your system meets the following requirements:\n\n\n\n<ul class=\"wp-block-list\">\n<li>A 64-bit version of Ubuntu 18.04 or later<\/li>\n\n\n\n<li>4 GB RAM minimum, 8 GB RAM recommended<\/li>\n\n\n\n<li>2 GB of available disk space minimum, 4 GB recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)<\/li>\n\n\n\n<li>A 64-bit CPU<\/li>\n<\/ul>\n\n\n\n<p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Install Java Development Kit (JDK)<\/h2>\n\n\n\n<p>Android Studio requires the Java Development Kit (JDK). To install it, open a terminal and execute the following commands:\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-1\">sudo apt update\nsudo apt install openjdk-11-jdk<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#sudo%20apt%20update%0Asudo%20apt%20install%20openjdk-11-jdk\">\n                            <button class=\"copy-button\" data-label=\"sudo apt update\nsudo apt install openjdk-11-jdk\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<p>\n\n\n\n<p>To verify the installation, you can check the Java version:\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-2\">java -version<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#java%20-version\">\n                            <button class=\"copy-button\" data-label=\"java -version\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Download Android Studio<\/h2>\n\n\n\n<p>\n\n\n\n<p><strong>1. Download Android Studio<\/strong>\n\n\n\n<p>Go to the <a href=\"https:\/\/developer.android.com\/studio\" target=\"_blank\" rel=\"noreferrer noopener\">official Android Studio download page<\/a> and download the latest version of Android Studio for Linux:\n\n\n\n<p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1470\" height=\"1262\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/10\/image-18.png\" alt=\"Download Android Studio\" class=\"wp-image-1278\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/10\/image-18.png 1470w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/10\/image-18-300x258.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/10\/image-18-1024x879.png 1024w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/10\/image-18-768x659.png 768w\" sizes=\"auto, (max-width: 1470px) 100vw, 1470px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>\n\n\n\n<p>2. Extract and Install Android Studio\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-3\">tar -xzf android-studio-*-linux.tar.gz\nsudo mv android-studio \/opt\/\n\/opt\/android-studio\/bin\/studio.sh<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#tar%20-xzf%20android-studio-%2A-linux.tar.gz%0Asudo%20mv%20android-studio%20%2Fopt%2F%0A%2Fopt%2Fandroid-studio%2Fbin%2Fstudio.sh\">\n                            <button class=\"copy-button\" data-label=\"tar -xzf android-studio-*-linux.tar.gz\nsudo mv android-studio \/opt\/\n\/opt\/android-studio\/bin\/studio.sh\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<p>replace <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">*<\/mark> with your downloaded android studio version.\n\n\n\n<p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Configure Android Studio<\/h2>\n\n\n\n<p>When you run the <code>studio.sh<\/code> script, the Android Studio setup wizard will start. Follow these steps:\n\n\n\n<p>1. <strong>Welcome to Android Studio Setup<\/strong>: Click <code>Next<\/code>.\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"746\" height=\"565\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-1.png\" alt=\"\" class=\"wp-image-595\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-1.png 746w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-1-300x227.png 300w\" sizes=\"auto, (max-width: 746px) 100vw, 746px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>2.  <strong>Install Type<\/strong>: Choose the <code>Standard<\/code> option for the default settings and click <code>Next<\/code>.\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-30-36.png\" alt=\"\" class=\"wp-image-596\" width=\"820\" height=\"618\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-30-36.png 820w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-30-36-300x226.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-30-36-768x579.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>3. <strong>Verify Settings<\/strong>: Review your settings and click <code>Next<\/code>.\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"618\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-31-15.png\" alt=\"\" class=\"wp-image-597\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-31-15.png 820w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-31-15-300x226.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-31-15-768x579.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>4. <strong>License Agreement<\/strong>:  Choose <code>Accept<\/code> and Click <code>Next<\/code>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"618\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-31-45.png\" alt=\"\" class=\"wp-image-598\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-31-45.png 820w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-31-45-300x226.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-31-45-768x579.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>5. <strong>Emulator Settings<\/strong>: Click <code>Finish<\/code>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"618\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-32-34.png\" alt=\"\" class=\"wp-image-599\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-32-34.png 820w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-32-34-300x226.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-32-34-768x579.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>6. <strong>Downloading components<\/strong>: Now it will start to download components. \n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"618\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-32-49.png\" alt=\"\" class=\"wp-image-600\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-32-49.png 820w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-32-49-300x226.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-18-32-49-768x579.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>After downloading Finish button will appear . Click on <code>Finish<\/code> button.\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"618\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-13-30.png\" alt=\"\" class=\"wp-image-601\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-13-30.png 820w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-13-30-300x226.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-13-30-768x579.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>7. <strong>Android Studio Welcome Window<\/strong>: Now it will appear with Android Studio Welcome window. Click on <code>New Project<\/code>.\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"668\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-14-06.png\" alt=\"\" class=\"wp-image-603\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-14-06.png 820w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-14-06-300x244.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-14-06-768x626.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>8.  <strong>Project<\/strong>: Now choose \u2018<code>No Activity<\/code>\u2019.\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"705\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-18-04.png\" alt=\"\" class=\"wp-image-604\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-18-04.png 920w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-18-04-300x230.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-18-04-768x589.png 768w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-18-04-700x535.png 700w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>9.  <strong>New Project Setup:<\/strong> Now it will ask you to create a project. Remain this as it is and click on <code>Finish<\/code>.\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"705\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-20-30.png\" alt=\"\" class=\"wp-image-605\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-20-30.png 920w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-20-30-300x230.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-20-30-768x589.png 768w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-20-30-700x535.png 700w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>10. <strong>Completing Request Actions<\/strong>: Now, It will download and install SDK platforms\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"705\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-31-36.png\" alt=\"\" class=\"wp-image-606\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-31-36.png 920w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-31-36-300x230.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-31-36-768x589.png 768w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-31-36-700x535.png 700w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>After downloading and Installing of SDK Platform click on <code>Finish<\/code>.\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"705\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-32-13.png\" alt=\"\" class=\"wp-image-607\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-32-13.png 920w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-32-13-300x230.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-32-13-768x589.png 768w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-32-13-700x535.png 700w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 : Launch the emulator in Android Studio<\/h2>\n\n\n\n<p>\n\n\n\n<p>1. Android Studio window will open. \n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"731\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-33-02-1024x731.png\" alt=\"\" class=\"wp-image-609\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-33-02-1024x731.png 1024w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-33-02-300x214.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-33-02-768x549.png 768w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-33-02.png 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>2. It will start to download packages. You can check these downloading packages on clicking left side button mention in the below image.\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-2-1024x535.png\" alt=\"\" class=\"wp-image-610\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-2-1024x535.png 1024w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-2-300x157.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-2-768x401.png 768w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-2-1536x802.png 1536w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-2.png 1850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p> \n\n\n\n<p>After finishing of downloading wait for the \u2018<strong>BUILD SUCCESSFUL<\/strong>\u2018 message.\n\n\n\n<p>3.  Now, click on \u2018<code>Device Manager<\/code>\u2019. Refer to the red arrow in the upper right side of the screenshot below.\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-3-1024x535.png\" alt=\"\" class=\"wp-image-611\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-3-1024x535.png 1024w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-3-300x157.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-3-768x401.png 768w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-3-1536x802.png 1536w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-3.png 1850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>It will show list of android emulator present on the Device Manager.\n\n\n\n<p>4. Click the &#8220;Play&#8221; button to launch the emulator.\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-4-1024x535.png\" alt=\"\" class=\"wp-image-612\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-4-1024x535.png 1024w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-4-300x157.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-4-768x401.png 768w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-4-1536x802.png 1536w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/image-4.png 1850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>5. Congratulations! Your emulator has successfully launched in Android Studio.\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"583\" src=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-41-53-1024x583.png\" alt=\"\" class=\"wp-image-613\" srcset=\"https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-41-53-1024x583.png 1024w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-41-53-300x171.png 300w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-41-53-768x437.png 768w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-41-53-1536x874.png 1536w, https:\/\/zahiralam.com\/blog\/wp-content\/uploads\/2024\/06\/Screenshot-from-2024-06-25-19-41-53.png 1850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n<p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Set Up Environment Variables<\/h2>\n\n\n\n<p>1. Open .bashrc File\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-4\">vim ~\/.bashrc<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#vim%20~%2F.bashrc\">\n                            <button class=\"copy-button\" data-label=\"vim ~\/.bashrc\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<p>2. Add the Following Lines\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-5\">export ANDROID_HOME=$HOME\/Android\/Sdk\nexport PATH=$PATH:$ANDROID_HOME\/emulator\nexport PATH=$PATH:$ANDROID_HOME\/tools\nexport PATH=$PATH:$ANDROID_HOME\/tools\/bin\nexport PATH=$PATH:$ANDROID_HOME\/platform-tools<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#export%20ANDROID_HOME%3D%24HOME%2FAndroid%2FSdk%0Aexport%20PATH%3D%24PATH%3A%24ANDROID_HOME%2Femulator%0Aexport%20PATH%3D%24PATH%3A%24ANDROID_HOME%2Ftools%0Aexport%20PATH%3D%24PATH%3A%24ANDROID_HOME%2Ftools%2Fbin%0Aexport%20PATH%3D%24PATH%3A%24ANDROID_HOME%2Fplatform-tools\">\n                            <button class=\"copy-button\" data-label=\"export ANDROID_HOME=$HOME\/Android\/Sdk\nexport PATH=$PATH:$ANDROID_HOME\/emulator\nexport PATH=$PATH:$ANDROID_HOME\/tools\nexport PATH=$PATH:$ANDROID_HOME\/tools\/bin\nexport PATH=$PATH:$ANDROID_HOME\/platform-tools\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<p>3. Apply the Changes\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-6\">source ~\/.bashrc<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#source%20~%2F.bashrc\">\n                            <button class=\"copy-button\" data-label=\"source ~\/.bashrc\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ: Installing Android Studio on Ubuntu 24.04<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Q: How do I install Android Studio on Ubuntu 24.04?<\/strong><br>A: Follow the step-by-step guide in the article, which includes installing JDK, downloading Android Studio, extracting and installing it, and configuring the environment.<\/li>\n\n\n\n<li><strong>Q: Can I install Android Studio on Ubuntu 24?<\/strong><br>A: Yes, the installation process for Ubuntu 24.04 should work for Ubuntu 24 as well.<\/li>\n\n\n\n<li><strong>Q: How do I install the Android SDK on Ubuntu 24.04?<\/strong><br>A: The Android SDK is installed automatically when you install Android Studio. Follow the guide to install Android Studio, which includes the SDK.<\/li>\n\n\n\n<li><strong>Q: Is there an Android emulator for Ubuntu 24.04?<\/strong><br>A: Yes, Android Studio includes an emulator. After installation, you can set up and run the emulator from within Android Studio.<\/li>\n\n\n\n<li><strong>Q: How do I install Java for Android Studio on Ubuntu 24.04?<\/strong><br>A: Use the command <code>sudo apt install openjdk-11-jdk<\/code> to install the Java Development Kit.<\/li>\n\n\n\n<li><strong>Q: Can I install Android Studio from a .tar.gz file on Ubuntu?<\/strong><br>A: Yes, the guide provides instructions for extracting and installing Android Studio from a .tar.gz file.<\/li>\n\n\n\n<li><strong>Q: How do I set up ANDROID_HOME on Ubuntu?<\/strong><br>A: Add the following line to your ~\/.bashrc file: <code>export ANDROID_HOME=$HOME\/Android\/Sdk<\/code><\/li>\n\n\n\n<li><strong>Q: Is there a way to install Android Studio using apt?<\/strong><br>A: Android Studio is not available in the default Ubuntu repositories. Follow the manual installation process described in the article.<\/li>\n\n\n\n<li><strong>Q: How do I install Android Studio on Linux?<\/strong><br>A: The process for Ubuntu 24.04 described in this article should work for most Linux distributions, with minor adjustments if needed.<\/li>\n\n\n\n<li><strong>Q: Can I develop Android apps on Ubuntu?<\/strong><br>A: Yes, installing Android Studio on Ubuntu allows you to develop Android applications.<\/li>\n\n\n\n<li><strong>Q: How do I download Android Studio for Ubuntu?<\/strong><br>A: Visit the official Android Studio download page and select the Linux version.<\/li>\n\n\n\n<li><strong>Q: How do I install Android Studio from the terminal?<\/strong><br>A: You can download the .tar.gz file and use terminal commands to extract and install it, as described in the article.<\/li>\n\n\n\n<li><strong>Q: What if the Android Studio setup wizard is not downloading components?<\/strong><br>A: Ensure you have a stable internet connection. If issues persist, try restarting the setup wizard or check your firewall settings.<\/li>\n\n\n\n<li><strong>Q: How do I set up the Android Studio environment variables on Ubuntu?<\/strong><br>A: Edit your ~\/.bashrc file to include the necessary export commands for ANDROID_HOME and PATH, as shown in the article.<\/li>\n\n\n\n<li><strong>Q: Can I install Android apps on Ubuntu?<\/strong><br>A: While Android Studio is for developing apps, you can run Android apps on Ubuntu using emulators or tools like Anbox.<\/li>\n\n\n\n<li><strong>Q: How do I install Android Studio in Spanish? (Instalar Android Studio en Ubuntu)<\/strong><br>A: The installation process is the same regardless of language. You can change the language settings within Android Studio after installation.<\/li>\n\n\n\n<li><strong>Q: How do I install Android Studio in Russian? (\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Android Studio Ubuntu)<\/strong><br>A: Follow the same installation process, then change the language settings in Android Studio preferences.<\/li>\n\n\n\n<li><strong>Q: What are the system requirements for Android Studio on Ubuntu?<\/strong><br>A: The article lists the prerequisites, including a 64-bit Ubuntu version, minimum 4GB RAM, and at least 2GB of available disk space.<\/li>\n\n\n\n<li><strong>Q: How do I update Android Studio on Ubuntu?<\/strong><br>A: Android Studio typically notifies you of updates. You can also check for updates in the IDE under Help &gt; Check for Updates.<\/li>\n\n\n\n<li><strong>Q: How do I run the Android Studio setup wizard?<\/strong><br>A: The setup wizard runs automatically when you first launch Android Studio after installation.<\/li>\n\n\n\n<li><strong>Q: Is there a guide for installing Android Studio on Mac?<\/strong><br>A: Yes! If you&#8217;re using a Mac, check out this guide on <a href=\"https:\/\/zahiralam.com\/blog\/install-android-studio-ladybug-2024-on-mac-m1-m2-m3\/\">installing Android Studio Ladybug (2024)<\/a> on Mac M1, M2, M3\u00a0<a href=\"https:\/\/zahiralam.com\/blog\/install-android-studio-ladybug-2024-on-mac-m1-m2-m3\/\">here<\/a>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Congratulations! You have successfully installed Android Studio on your Ubuntu system. You can now start developing Android applications using the powerful features of Android Studio. Happy coding!\n\n\n\n<p>\n","protected":false},"excerpt":{"rendered":"<p>Android Studio is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA. It provides a robust environment for coding, testing, [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":751,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77],"tags":[192,19,18,66],"class_list":["post-592","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile-development","tag-android-studio","tag-linux","tag-ubuntu","tag-ubuntu-24-04"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts\/592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/comments?post=592"}],"version-history":[{"count":26,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts\/592\/revisions"}],"predecessor-version":[{"id":1345,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts\/592\/revisions\/1345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/media\/751"}],"wp:attachment":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/media?parent=592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/categories?post=592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/tags?post=592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}