Android Workshop Part 2

1,289 views

Published on

This PPT was used by us and Mobile Monday Ahmedabad Chapter at DA-IICT, Gandhingar where we taught Android Programming to more than 200 students.

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,289
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android Workshop Part 2

  1. 1. SET UP ANDROID DEVELOPMENT ENVIRONMENT
  2. 2. Part 1: Installations
  3. 3. Step 1 : JDK• To develop Java applications and applets, you need the JDK (Java Development Kit).• Otherwise, you can download it from here: http://www.oracle.com/technetwork/java/j avase/downloads/index.html
  4. 4. Step 2: Eclipse• Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system• Download Eclipse from here : http://www.eclipse.org/downloads/
  5. 5. Step 3: Android SDK• Download the Android SDK from the Android homepage under Android SDK download . The download contains a zip file which you can extract to any place in your file system, e.g. I placed it under "c:android-sdk- windows".
  6. 6. Part 2: Configuration
  7. 7. Installed Eclipse & Configuration
  8. 8. Eclipse & Android Configuration Use the Eclipse update manager to install all available plugins for the Android Development Tools (ADT) from the URL https://dl-ssl.google.com/android/eclipse/ .• In Eclipse open the Preferences dialog via Windows -> Preferences. Select Android and maintain the installation path of the Android SDK.
  9. 9. Eclipse & Android Configuration• Select now Window -> Android SDK and AVD Manager from the menu.
  10. 10. Eclipse & Android Configuration• Select available packages and select the latest version of the SDK. Press "Install selected" and confirm the license for all package. After the installation restart Eclipse.
  11. 11. Eclipse & Android Configuration• You need to define a device which can be used for emulation. Press the device manager button, press "New" and maintain the following.
  12. 12. Eclipse & Android Configuration• Press "Create AVD". This will create the device. To test if you setup is correct, select your device and press "Start".
  13. 13. Eclipse & Android Configuration• After (a long time) your device should be started.
  14. 14. Error Handling• Things are not always working as they should be. Several users’ report that get the following errors:• Project ... is missing required source folder: gen• The project could not be built until build path errors are resolved.• To solve this error select from the menu Project -> Clean.
  15. 15. 8/19/2010 Programming Time Lets make some cool applications now !

×