Getting started with Android

Android is an operating system that can be used to generate applications for mobile devices. SDK is the software development kit for android. The Android SDK includes sample projects with source code, development tools, an emulator, and required libraries to build Android applications. We write the applications using java and runs it on  a custom virtual machine designed for embedded use which runs on top of a Linux kernel.

I recently started with android and these are the basic steps that you need to do to make a set up. This is available in the site

1. You need to have Java installed in your system. Download the latest version unzip it. My file was of the form **.tar.gz. So I used the following commands to unzip them.

  • gunzip java.tar.gz
  • tar -xvf java.tar
  • Give ./java to run the executable file and install it.

Inorder to make the java run at any location or  directory, you can add the following command to .bashrc file.

  • sudo vim  /etc/bash.bashrc  (this is to enter into the .bashrc file)
  • export PATH=$PATH:/opt/java/bin (this command must be given inside at the end os the .bashrc file)

Now, download the SDK package from the site given above and extract them to a folder in the desktop.

In the terminal, go to the folder containing the package using cd . Let the name of the folder be android.

  • cd android/tools/

Run the executable file android in it.

  • ./android

If an error comes as permission denied, you need to change the access mode of the file. You can do that by

  • chmod 755 *

Now you can see the window of Android SDK and AVD manager.  Click on the installed packages on the left side and click on update packages. Then another window asking choose packages to install will come and we have to choose any of them and then click on accept and then install.

Further steps are explained clearly on the site mentioned above and you just have to follow all those.

You  can install eclipse in your computer and then add a plugin to combine android with it can be used.


Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s