Install android inside ubuntu

hai all .. hope this posting can give advantageous ..

you don’t have android phone but you wanna try android system it easy do this way from this way you also can develop android

this is call Android SDK / ADT this usually people use for to develop android applicationBefore developing applications for Android devices in Ubuntu, you’ll need sets of tools and packages called Android SDK and/or ADT (Android Developer Tools). These tools provide you the API libraries necessary to build, test, debug apps for Android.

Google recommends that you install Android Developer Tools if you’re new to developing apps for Android. ADT includes all the essential SDK components and version of Eclipse IDE with built-tools to help you quickly develop Android apps.

i’ll show you how to install Android SDK as well as ADT tools which will help you develop applications for Android devices.

With a single download, the ADT Bundle includes everything you need to begin developing apps:

  • Eclipse + ADT plugin
  • Android SDK Tools
  • Android Platform-tools
  • The latest Android platform
  • The latest Android system image for the emulator

Alternatively, you can just download the SDK and also begin developing apps for Android, however, you’ll need other tools when building and managing complicated applications.

To get started, you’ll need to install OpenJDK or Oracle Java JDK. The OpenJDK version comes with Ubuntu and it’s very easy to install.

To install OpenJDK in Ubuntu, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to install OpenJDK packages.

sudo apt-get install openjdk-7-jre openjdk-7-jdk icedtea-7-plugin

Next, download Android SDK revision r_21.1 by running the commands below.
wget http://dl.google.com/android/android-sdk_r21.1-linux.tgz
Next, run the commands below to extract the downloaded file.

tar -xvzf android-sdk_r21.1-linux.tgz
After extracting the file, change into the tools folder by running the commands below

cd android-sdk-linux/tools
Next, run the commands below to launch android Android SDK Manager. The manager lets you install libraries and packages suitable for developing Android apps.

./android
When it opens, select all the packages you which to download and install. Make sure all packages are installed then close out.

android_ubuntu1210

Finally, run the command below to open the bashrc file in your home directory.

gedit ~/.bashrc

Then copy and paste the lines below into the file and save it. You can put it at the top or in the middle of the file

export PATH=${PATH}:~/android-sdk-linux/tools
export PATH=${PATH}:~/android-sdk-linux/platform-
Restart your computer and when you login, start Android Virtual Device Manager with the below command


android avd
FINISH  :):) :)
Advertisements

2 thoughts on “Install android inside ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s