Skip to main content

Set up Android development environment on Ubuntu 9.10

Experiments with setting up Android development environment in Ubuntu 9.10 karmic koala

Following packages are required for setup

Eclipse IDE

sudo apt-get install eclipse   
 
JDK 6 

sudo apt-get install sun-java6-jdk
Android SDK
  1. Download the latest Android SDK from http://developer.android.com/sdk/index.html 
  2. Copy that package to folder named android into your home folder
  3. tar -xvzf android-sdk_r04-linux_86.tgz
  4. mv android-sdk_r04-linux_86.tgz ~/android/
  5. cd ~/android/
  6. tar xzvf android-sdk_r04-linux_86.tgz
  7. - Edit your ~/.bashrc file and add a line to the bottom:export PATH=${PATH}:/home/padma/android/android-sdk-linux_86/tools/ 
  8. Go to /home/padma/android/android-sdk-linux_86/tools/
  9. run the android script : ./android
  10. In the resulting window, In setting menu add :  https://dl-ssl.google.com/android/repository/repository.xml 
  11. After that an “Available Packages” option. In that add repository link :  I clicked on that, then clicked the checkbox beside the “repository.xml” package to select all available packages and then clicked “Install Selected.”
  12.  
Android Development Tools (ADT) for Eclipse.  
  1. Download ADT from http://dl.google.com/android/ADT-0.9.5.zip
  2. Start Eclipse, then select Help > Install New Software.
  3. In the Available Software dialog, click Add....
  4. In the Add Site dialog, click Archive.
  5. Browse and select the downloaded zip file.
  6. Enter a name for the local update site Android Plugin in the "Name" field.
  7. Click OK.
  8. Go to “Window > Preferences” and locate/browse Android SDK path,(e.g here it is   /home/padma/android/android-sdk-linux_86)

Now create your first application with Android : http://developer.android.com/guide/tutorials/hello-world.html

Comments

Popular posts from this blog

Welcome 2009 ...A new year resolution

A new year resolution I think this is a good time to sit back and reflect on the things we'v done and those we hvnt,the thingz we'v done right and those we did wrong,and the times we impressed and dissapointed ourselves and others..THEN make decisions based on our thoughts. I thought to write this year resolution that is to be SMART ( Specific, Measurable, Achievable, Realistic and Time-bound ) and listed to on my blog HAPPY NEW YEAR EVERYONE!! Live UR Life

Are you afraid of the dark!!! -Sidney Sheldon

I have just finished reading this book ............... The book starts with the cops who find the dead bodies of various scientists. It tells us briefly about the lives of the two widows when they were married rather happily married. One widow being a high profile model the other being a girl next door kind of a person. This book is a story of the wives of two good scientist who escape death several times. The two lose their husband as they were murdered for being involved in a very high profile undercover project. The book describes how the two widows decide to find out the person involved in murdering their husband and in the process how do they escape death several times and finally whether did they die or not ? is a question which will be answered only after reading the book. ARE YOU AFRAID OF THE DARK? is a pleasant and easy read. While the story has its flaws, it certainly held my interest and kept me reading to the very end.

Touching One .......................

Little girl and her father were crossing a bridge. The father was kind of scared so he asked his little daughter, "Sweetheart, please hold my hand so that you don't fall into the river. " The little girl said, "No, Dad. You hold my hand. " "What's the difference?" Asked the puzzled father. "There's a big difference, " replied the little girl. "If I hold your hand and something happens to me,chances are that I may let your hand go. But if you hold my hand, I know for sure that no matter what happens, you will never let my hand go. " In any relationship, the essence of trust is not in its bind, but in its bond. "So hold the hand of the person whom you love rather than expecting them to hold urs... this story tells many things... u just need to understand the meaning rest depends on u "