Objective

The objective is to install Android Studio on Debian 9 Stretch Linux.

Operating System and Software Versions

  • Operating System: - Debian 9 Stretch
  • Software: - Android Studio 2.3.2

Requirements

Privileged access to your Debian 9 Stretch system may be required to install prerequisites.

Difficulty

EASY

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Instructions

Install Prerequisites

Run the following linux command to install prerequisites:
# apt-get install lib32stdc++6 unzip

SUBSCRIBE TO NEWSLETTER
Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


Download Android Studio

Use your web browser to download using the following link:https://developer.android.com/studio/. Save android studio zipped archive to your local directory:
$ ls
android-studio-ide-162.3934792-linux.zip 

Unzip and Install

There is no actual installation at this stage. All what needs to be done is to unzip the previously downloaded Android Studio archive file and move it to /opt/ directory:
$ unzip android-studio-ide-162.3934792-linux.zip 
# mv android-studio /opt/
Start Android Studio installation wizard:
$ /opt/android-studio/bin/studio.sh
Note, if you do not have a privileged access to your system you can leave the unziped android-studio directory in any directory and start it from there.

Unzip and stall Android Installer

Follow the Android Studio wizard to complete the installation:

Follow Android Studio Wizard




Android Studio installation Complete

Android Studio is installed and ready:

Start Android Studio

To start Android Studio next time execute:
$ /opt/android-studio/bin/studio.sh

Appendix

Error message:
Unable to run mksdcard SDK tool.
The resolve the above issue install lib32stdc++6:
# apt-get install lib32stdc++6
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions