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
- Download the latest Android SDK from http://developer.android.com/sdk/index.html
- Copy that package to folder named android into your home folder
- tar -xvzf android-sdk_r04-linux_86.tgz
- mv android-sdk_r04-linux_86.tgz ~/android/
- cd ~/android/
- tar xzvf android-sdk_r04-linux_86.tgz
- - Edit your ~/.bashrc file and add a line to the bottom:export PATH=${PATH}:/home/padma/android/android-sdk-linux_86/tools/
- Go to /home/padma/android/android-sdk-linux_86/tools/
- run the android script : ./android
- In the resulting window, In setting menu add : https://dl-ssl.google.com/android/repository/repository.xml
- 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.”
Android Development Tools (ADT) for Eclipse.
Download ADT from http://dl.google.com/android/ADT-0.9.5.zip
Start Eclipse, then select Help > Install New Software.
In the Available Software dialog, click Add....
In the Add Site dialog, click Archive.
Browse and select the downloaded zip file.
Enter a name for the local update site Android Plugin in the "Name" field.
Click OK.
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