How to install Android Studio on Windows, macOS, Linux, and Chrome OS


[ad_1]

If you are new to Android app development, you may or may not be familiar with Android Studio. It is the official Google IDE (Integrated Development Environment) specially designed for developing native Android apps. For Android Java or Kotlin apps, there is no better option when it comes to ease of development.

Of course, Android Studio is a development tool, so it’s not exactly a plug-and-play installation for your favorite development platform. A little manual setup is required, and that’s where this article comes in. Today we’re going to install and configure Android Studio on Windows, macOS, Linux, and Chrome OS. Let’s get started!


Download Android Studio

This might be the most obvious step, but I’m including it here anyway for easy access. Before you can actually use Android Studio, you need to download the correct version for your system. Follow the link below and download the appropriate file for your device.

Android Studio Downloads


Install Android Studio

Now comes the fun part. Follow the section below for your operating system to install Android Studio.

the Windows

Windows actually has several ways to install it.

Method 1

If you just want easy installation, you can download and run the EXE installer. You will be guided through the installation of Android Studio, and voila!

Just download the EXE and run it.

Method 2

This method is a bit more complex, but if you don’t have administrator access on your computer, this is the best choice. Let’s get started.

  1. The first thing to do is download Android Studio. Take the ZIP version for Windows.

    Download the ZIP for Windows.

  2. While downloading, create a folder for the location where you want to store Android Studio. For example, my installation is located at E: AndroidStudioDevWin .
  3. Then open the ZIP you downloaded. Inside you should see a folder called android-studio. Go to that folder and you should see a whole bunch of folders and files including garbage can, jre, and uninstall.exe. These are the files that you will extract.

    You should see something similar to this.

  4. Open a new file explorer window and navigate inside the folder you created in step 2. In my case it is E: AndroidStudioDevWin .
  5. Back in the ZIP window, select all the folders and files and drag them to the window you opened in step 4.
    Android Studio on Windows

    Extract the files to the folder you created for Android Studio.

  6. Once the extraction is complete, you can delete the ZIP if you want.
  7. Now go to the garbage can directory and find the studio64.exe to file. Right click and choose it Pin to taskbar option. Right-click again and choose the Pin to start option.

And that’s all! You should be able to search for “studio“from the Start menu or just click the Android Studio icon in the taskbar to run it.

macOS

Follow these steps to install Android Studio on macOS:

  1. Download Android Studio DMG for Mac.

    Download the DMG for Mac.

  2. Open the downloaded DMG. A window with the Android Studio icon and a shortcut to the Applications folder should open. If you’ve ever installed third-party apps on macOS, this should sound pretty familiar.

    You should see something like this when you open the DMG.

  3. Drag the icon to the Applications folder shortcut and let it copy.

Once the copy is complete, you can open Android Studio by searching for it in Spotlight (CMD+Space) or Launchpad (Fn+F4).

Linux

There are many Linux distributions out there and these instructions cannot cover them all. We are going to talk specifically about Debian and Fedora based distributions here, but the general guidelines should apply to all distributions.

  1. First of all, you will need to download Android Studio TAR.GZ for Linux.

    Download the TAR.GZ for Linux.

  2. The second thing you will need to do is create a directory where it is to be installed. For example, it could be at / home / zachary / Office / AndroidStudio /.
  3. Then open the TAR.GZ archive you downloaded. You should see a folder called android-studio. Go to that folder and you should see a whole bunch of folders and files including garbage can, jre, and product-info.json.

    You should see a bunch of files in the ZIP, like this one.

  4. Open a new Files window and navigate to the folder you created in step 2. In my case, it’s / home / zachary / Office / AndroidStudio /.
  5. Back in the Archive Manager window, select all the folders and files and drag them to the window you opened in step 4. Once the extraction is complete, you can delete the TAR.GZ if you want. .
  6. While copying files, open a terminal (Ctrl+Alt+T). We need to make sure there are some libraries installed for Android Studio to work.
    1. On Debian-based distributions, run:
      sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
    2. On Fedora-based distributions, run:
      sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
    3. On other distributions, you will need to find and install these libraries using the appropriate package manager.
  7. Once the extraction is complete, go to the garbage can directory in your installation directory. Inside you should see a file named studio.sh.
  8. Right click on an empty space in the window and choose it Open in terminal option.

    Choose “Open in terminal”

  9. Once the terminal window opens, run the following command:
    ./studio.sh

    This will open Android Studio.

You have now installed Android Studio! If you want to make it easier to open, you can try making an entry on the desktop. Follow the instructions below to do so.

  1. Right click on your desktop and choose Open in terminal.

    Choose “Open in terminal”

  2. In the terminal window, run:
    touch AndroidStudio.desktop

    Close the terminal.

  3. Open the AndroidStudio.desktop in a text editor, like Gedit, and paste the following:
    [Desktop Entry]
    Name=Android Studio
    Exec=/home/zachary/Desktop/AndroidStudio/bin/studio.sh
    Icon=/home/zachary/Desktop/AndroidStudio/bin/studio.sh
    Type=Application
    Terminal=False
    Categories=Utility;
  4. You will have to change the paths after Exec = and Icon = to match your paths.

    Your office entrance should look like this.

  5. Save, then right click AndroidStudio.desktop. Choose the Allow launch option. This may not be necessary for all distributions.
    Install Android Studio on Linux

    Select the “Allow launch” option.

  6. Finally, double click on the file to launch Android Studio.

Chrome OS

If you’re using Chrome OS or a variant of Chromium OS, you’re in luck because Google made Android Studio available through the Linux framework. Read on to learn how to install Android Studio and run it on Chrome OS.

Linux installation

Before you can install Android Studio on Chrome OS, you need to install Linux. However, this is not a double-boot situation, so don’t worry. Google added a feature to Chrome OS to run Linux apps without having to install Ubuntu / Arch / etc. and restart. If you have already activated Linux on Chrome OS, you can skip this section.

  1. Open Settings. You can do this by clicking on the time at the bottom right of the screen, then clicking on the gear icon, or by opening the search (the circle at the bottom left) and searching Settings.
  2. In the left sidebar, click Linux (beta) or scroll to the bottom of the Settings window.
  3. Click it Light up button in the Linux menu.

    Click “Activate” to activate Linux.

  4. At this point, a window should appear telling you how much space Linux is taking up. Click on Next.

    Click on Next “.

  5. On the next screen, specify a user name for the Linux installation, and then click To install.

    Click on “Install”.

  6. Wait a few minutes for the installation to finish. A terminal window will appear. Close it.

If all went well, you should now have activated Linux on Chrome OS!

If you don’t see the Linux in your settings, it probably means your Chromebook doesn’t support it. Most Chromebooks released in 2019 or later support it, while some released before 2019 support it. You can find a full list of these devices here.

Installing Android Studio

Now that Linux is on, it’s time to install Android Studio.

  1. Download the Android Studio DEB for Chrome OS.

    Download the DEB for Chrome OS.

  2. Open Files and navigate to Downloads case.
  3. Right click on the downloaded DEB and select Install with Linux (beta).

    Click on “Install with Linux”.

  4. In the window that opens, wait for the details to load, then click To install.
    Install Android Studio on Chrome OS

    Click on “Install”.

  5. You will receive a notification telling you the progress of the installation. It may take a bit.
  6. Once the installation is complete, you will be able to find Android Studio directly in the launcher in the Linux applications case.

    Android Studio will be in your application launcher in the “Linux Applications” folder.

That’s it! Setting up Android Studio on Chrome OS isn’t exactly straightforward, but at least it’s pretty straightforward.


Hope this guide has helped you set up Android Studio to the operating system you are using.

[ad_2]

Comments are closed.