Docstoc

Android Installation

Document Sample
Android Installation Powered By Docstoc
					Android - Installation

    Chien-Chung Shen
        CIS, UD
  cshen@cis.udel.edu
                     Java JDK
• Go to
  http://www.oracle.com/technetwork/java/jav
  ase/downloads/index.html
• Get JDK 6 (latest version 1.6.0_39) or JDK 7
  – Scroll down a bit to JDK 6
  – Perhaps you already have JDK 6
     • Check c:\program files\java\jdk1.X.yyy, where X = 6
     • $ java -version
• Set the JAVA_HOME with value c:\program
  files\java\jdk1.X.yyy to your environment
  variable
• Add the $JAVA_HOME/bin directory to your PATH
  environment variable
                     Android SDK
• Android SDK (Software Development Kit) provides
  API libraries and developer tools necessary to build,
  test, and debug apps for Android
• Download ADT Bundle at
  http://developer.android.com/sdk/index.html
• ADT Bundle contains
   – Eclipse IDE + ADT (Android Developer Tools) plugin
      • Visual Layout Editor, etc.
   – Android SDK Tools (in <sdk>/tools)
   – Android Platform-tools (in <sdk>/platform-tools)
   – The latest Android SDK platform (in <sdk>/platforms)
   – The latest Android system image (e.g., ARM and x86) for the
     emulator (in <sdk>/platforms)
              ADT Bundle
• Eclipse IDE with built-in ADT (Android
  Developer Tools)
• Installation
  – Unpack the ZIP file (named adt-bundle-
    <os_platform>.zip)
  – Open the adt-bundle-<os_platform>/eclipse/
    directory and launch eclipse.
  Install Android Platform(s)
• Open Eclipse (<eclipse>/Eclipse)
• In Workspace Launcher window, specify
  a directory to store your apps
  – Check the directory
• Check ADT > Preferences
• Click on Android SDK Manager
  – Check <sdk>/platforms
• Add other SDK platforms (click Accept
  All)close and reopen Eclipse
        Create/Start AVD
• Android Virtual Device (AVD)
• Click on Android Virtual Device Manager
• Create (configure) new AVD
• Start AVD

• Run the Doodlz app from Chapter 1

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:22
posted:9/13/2013
language:
pages:6