Android App Development

Android Development Environment Setup

If you are new to Android App Development, the first step is to set up the development environment in order to be able to build, test and debug your apps.

Step 1: Download ADT Bundle

The easiest way to set up the Android development environment is to download the ADT Bundle, which includes Eclipse, Android SDK tools, platform tools and more.

Go to http://developer.android.com/sdk/index.html

Android SDK

Android SDK

  • Scroll down and click on “DOWNLOAD FOR OTHER PLATFORMS”
  • Select the ADT Bundle for your platform

select-platform

 

  • Once the bundle has been downloaded – Double click on it to extract all the files
  • Then copy the file to the Applications folder
  • Double click on Eclipse to launch it
    Eclipse-Icon
  • May need to right click and open due to system restrictions.
  • Close the Welcome Window

Step 2: Download APIs

Next need to download the APIs that you will use in your applications

Use SDK manager to download and install APIs you need

  • Windows
  • Android SDK Manager

Window-Android-SDK-Manager

  • Need the Google APIs if you want to use maps.
  • Restart Eclipse so it can configure everything that has been installed

Android_SDK_Manager

Step 3: Add the Emulator

  • Window
  • Android Virtual Device Manager

Android_Virtual_Device_Manager

  • New

create-new-virtual-device

In this window:

  • Enter AVD Name
  • Select Device
  • Ensure Google API Level 8 is selected
  • Click on “OK”

Step 4: Add LogCat Debugging Tool

Add LogCat debugging tool to Eclipse

  • Window
  • Show View
  • Other

Window-ShowView-Other

 

Select LogCat

LogCat