How to Install Android studio on Ubuntu 18.04 Linux

How to Install Android studio on Ubuntu 18.04 Linux

In this article we will discuss How to Install Android studio on Ubuntu 18.04 Linux.

Install Android Studio

Setting up Android Studio takes just a few clicks.

First, be sure you download the latest version of Android Studio

To install Android Studio on Linux, proceed as follows:

  1. Unpack the .zip file you downloaded to an appropriate location for your applications, such as within /usr/local/ for your user profile, or /opt/ for shared users.
    If you’re using a 64-bit version of Linux, make sure you first install the required libraries for 64-bit machines.
  2. To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and also execute studio.sh.
  3. Select whether you want to import previous Android Studio settings or not, then click OK.
  4. The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.

Required libraries for 64-bit machines

If you are running a 64-bit version of Ubuntu 18.04 with the following command:

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

If you are running 64-bit Fedora, the command is:

sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

How to Set up your Android device

To prepare to run and also test your app on an Android device, you need an Android device running at least Android 4.1 or higher.

  1. Enable Developer options and USB debugging on your device. Detailed instructions are available in the Android documentation.
  2. Windows-only: Install the Google USB Driver.
  1. Using a USB cable, plug your phone into your computer. If prompted on your device, authorize your computer to access your device.
  2. In the terminal, run the Command for language

How to Set up the Android emulator

Firstly To prepare to run and test your Flutter app on the Android emulator, follow these steps:

  1. First enable VM acceleration on your machine.
  2. Launch Android Studio, click the AVD Manager icon, and also select Create Virtual Device
    • In older versions of Android Studio, you should instead launch Android Studio > Tools > Android > AVD Manager and select Create Virtual Device…. (The Android submenu is only present when inside an Android project.)
    • If you do not have a project open, you can choose Configure > AVD Manager and also select Create Virtual Device…
  3. Select Next after Choose a device definition
  4. Select one or more system images for the Android versions you want to emulate, and also select Next. An x86 or x86_64 image is recommended.
  5. Under Emulated Performance, select Hardware – GLES 2.0 to enable hardware acceleration.
  6. Verify the AVD configuration is correct, and also select Finish.
    For details on the above steps, see Managing AVDs.
  7. In Android Virtual Device Manager, click Run in the toolbar. The emulator starts up and also displays the default canvas for your selected OS version and device.

Top 10 Most Popular Programming Languages (2004/2020)

Similar articles – How to Install Android studio on Ubuntu 18.04 Linux

  • best WordPress plugin for SEO SEM Optimization – Click here
  • How to Increase Maximum upload file size WordPress 2 MB to TB or terabyte import unlimited – click here
  • PHP 8.0 vs PHP 7.4 and also PHP 8.0 features performance benchmark install setup – Click here
  • WordPress Fill the form and also PDF sent on Email using Contact Form 7 – Click here
  • How to fix hidden plugin editor on WordPress 2020 | I can’t find my plugin editor- Click here
  • GTmetrix VS Pingdom VS Google PageSpeed Insights VS Lighthouse Best performance optimization- Click here
  • How to install wordpres on local machine like window 10 linux and also Mac – Click here

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top