How to Install Android SDK on Ubuntu 16.04 Xenial 32-64bit

March 27, 2016 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Android SDK Quick Start on Ubuntu 16.04 Xenial

Hello Ubuntu User! The Tutorial Shows You Step-by-Step How to Install Android SDK on Ubuntu 16.04 Xenial Xerus LTS i386/Amd64 GNU+Linux Desktop.

First, the Android SDK Tools Installation is Essential for Getting-Started with Android Development on Ubuntu Linux.

Furthermore, on the How to Install Android SDK Tools for Ubuntu 16.04 Bottom Link to Guide on Installing Android Studio on Ubuntu.

Especially relevant: Android App Development Requires a working Oracle Java JDK Installation.

How to Install Android SDK on Ubuntu 16.04 Xenial 32-64-bit - Featured
  1. Open Shell Terminal emulator window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    How to Install Android SDK on Ubuntu 16.04 Xenial 32-64-bit - Open Terminal
  2. Download Latest Android SDK for Linux

  3. Double-Click on Archive and Extract into /tmp

    How to Install Android SDK on Ubuntu 16.04 Xenial 32-64-bit - Android SDK Extraction

    Or from Command Line:

    tar xvzf ~/android-sdk*.tgz -C /tmp/
  4. So Install the Required Packages
    To Login as Superuser (simply to make shorter all the following commands):

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    apt-get install libbz2-1.0

    And for the 64bit Systems only:

    apt-get install lib32z1 lib32ncurses5 lib32stdc++6
  5. Then Relocate Android SDK
    Set the SuperUser as owner:

    sudo chown -R root:root /tmp/android-sdk-linux*

    Reiterate the execution Permissions:

    chmod -R +xr /tmp/android-sdk-linux*

    After to Switch the Android contents:

    mv /tmp/android-sdk-linux* /opt/android-sdk-linux
  6. How to Install Required Oracle Java JDK 8 on Ubuntu

    Install Oracle JDK 8 for Ubuntu
  7. Again to Insert Android Tools into User PATH
    su <username>
    nano ~/.bashrc
    export PATH=/opt/android-sdk-linux/tools:/opt/android-sdk-linux/platform-tools:$PATH

    Ctrl+Shift+v to Paste Content into nano
    Ctrl+x to Save and Exit
    Load New Settings

    bash
  8. Furthermore, for Updating Android SDK Tools & APIs

    cd /opt/android-sdk*/tools
    sudo su -c "./android sdk"

    Re-Start the Android SDK Installer After the First Installation to Continue with APIs and Tools Installation!

    How to Install Android SDK on Ubuntu 16.04 Xenial 32-64-bit - Android SDK Manager for APIs
    Restart Again if Prompted to Get Installed the Latest API…
    How to Install Android SDK on Ubuntu 16.04 Xenial 32-64-bit - Installing Latest API

    Select the wanted API’s and Build-tools and Wait Until the Download and Installation is Achieved.

  9. Getting-Started with Android App Development on Ubuntu

    Android App Quick Start Guide
  10. How to Install Android SDK Studio Bundle for Ubuntu:
    How to Install IntelliJ Android Studio on Linux Ubuntu Distro.

    How to Develop Android Cross-Platform Apps with Appcelerator on Ubuntu:
    Getting-Started in Android App Development with Cross-Platform Appcelerator Titanium Studio IDE.


Tags: , , , , , , , , , , , , , , , , , , ,