Translate

Saturday, July 21, 2012

Learn how to install AndroidSDK on Ubuntu 12.04

The "boom" of the segment of mobile devices has created new business opportunities for developers. Currently, any programmer to develop applications for the Android platform, you can produce your application and make it available immediately on Google Play - a privileged location for business applications that provides the visibility and customers.

For those who want to start up in the programming world. Today we'll teach you how to install
AndroidSDK on Ubuntu 12:04.

androidsdk_01



To install on Ubuntu 12.04 AndroidSDK should follow the following steps:

Step 1Open the terminal (CTRL + ALT + T) and proceed to OpenJDK installation
 
    sudo apt-get install openjdk-6-jre openjdk-6-jdk icedtea6-plugin

Step 2 -After installing the OpenJDK we will download AndroidSDK which currently
is on r20 version

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

Step 3 - Then we will proceed to unpack the package
 
    tar -xvzf android-sdk_r20-linux.tgz

Step 4After unpacking, we go to the unzipped folder using the command
 
    cd ~/android-sdk-linux/tools
 
Step 5Finally we run the package manager and update the packages AndroidSDK
    ./android
 

androidsdk_00

Passo 6After updating the packages to the system will add some environment variables. To do this open the file ~ /. bashrc using the command

    gedit ~/.bashrc
 
and then added the following variables:

    export PATH=${PATH}:~/android-sdk-linux/tools
    export PATH=${PATH}:~/android-sdk-linux/platform-tools
 
 
After we performed the above steps successfully, log out and log defem to load the environment variables (you can also simply use the command source). To run the Android Virtual Device just use the command:

    android

And you're done. Now just install Eclipse on Ubuntu and started your program for the Android world. Any questions or problems let the comments we try to give a help.  
Good programming.


    Published By: Pplware

No comments:

Post a Comment