contador web Skip to content

Install Android SDK on Ubuntu 12.04

With Android's prominence in the mobile device market, the ability to create your own Android applications becomes attractive for both work and study. To this end Google provides a library package, or a suite as they please, so that it is possible to develop applications for Android in PC environment, called Android SDK. The application generates a kind of emulator on the computer where we can test the Apps. We all know that Linux has properties that make it a better platform for programming in any language, so let's learn how to install Android SDK on Ubuntu (or Mint) which is the most widely used distro in the world. androidsdk_01

Installing Android SDK package on Ubuntu Precise Pangolin will be as follows: open terminal and paste the following commands:

sudo apt-get install openjdk-6-jre openjdk-6-jdk icedtea6-plugin

After installing Open JDK we will download Android SDK

wget http://dl.google/android/android-sdk_r20-linux.tgz

After do:

tar -xvzf android-sdk_r20-linux.tgz

And then:

cd ~ / android-sdk-linux / tools

Let's run the Android SDK and update the packages:

./android

After upgrading the packages we will add some environment variables to the system. For that we open the file ~ / .bashrc using the command:

gedit ~ / .bashrc

And we add the following variables:

export PATH = $ {PATH}: ~ / android-sdk-linux / toolsexport PATH = $ {PATH}: ~ / android-sdk-linux / platform-tools

Restart the computer to load the variables correctly, to run the Android SDK type in the terminal:

android

And it is done. Now you just have to install eclipse on Ubuntu and you have started your programs for the Android world. Any questions or problems leave in the comments that we give a help. Good schedules.

Android SDK running on Ubuntu

Stay on top of everything that happens at Diolinux …

Twitter Diolinux "src =" http://2.bp.blogspot/-VCCu7Ke2LFA/TqLa2WjzHaI/AAAAAAAAZQ/EbYw32VQMZs/s000/twitter.png "style =" cursor: move;@blogdiolinux Facebook "src =" http://1.bp.blogspot/-XfyY7vEVwxw/TqLa2pTRTKI/AAAAAAAAAZY/VsLafhC-cfI/s000/facebook.png blogdiolinux Twitter Diolinux "src =" http://2.bp.blogspot/-VCCu7Ke2LFA/TqLa2WjzHaI/AAAAAAAAQ/EbYw32VQMZs/s000/twitter.png@dionatanvs Google Plus "src =" http://1.bp.blogspot/-Pk6eu7KfCSc/TqLa23mRhkI/AAAAAAAAAZg/3z2_LnO_rTI/s000/gplus.png Go Google +