Java
Android apps are devved in Java so you need Java installed.Eclipse
Eclipse is the IDE program you are going to use to devv Android apps. Three ways to get Eclipse:This will get you the official release of Eclipse for your Ubuntu version. Like this you know you don't have dependencies issues nor safety breaches. Downside is that you don't get the latest version of Eclipse.
You can download latest stable version of Eclipse directly from their web site. At the time of writing, latest is Eclipse Classic 3.7.1 Indigo.
Also, there is a PPA for Eclipse.
Android SDK
Now you need the phone emulator. Download it here. I recommand you decompress it in /opt/sdk/android and then from terminalThen just type 'android-sdk' on your terminal and it opens the emulator. On the left menu, click 'Available Packages'. Download all the packages.
Connect the SDK with Eclipse
Now open Eclipse and- go to Help > Install New Software
- click the link 'Available Software Sites'
- click on the 'Add' button
- In the Name field, enter the value 'Android Development Tools'
- In the Location field, enter the value 'https://dl-ssl.google.com/android/eclipse'
- click 'Ok'
- in the Work With field, enter 'android'
- hit Enter
- check the checkbox next to 'Developer Tools'
- click 'Next'
- click 'Next' again
- accept the Terms of User and click 'Finish'
- restart Eclipse
- go to Windows > Preferences > Android
- in the left menu, click on 'Android'
- In the SDK Location field, enter the path to where you have installed Android SDK, ie '/opt/sdk/android'
That's it!
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.