Auto-generate Flow Chart from Java/C++ Codes:

Raptor Flowchart Tutorial For Beginners

Monday, July 23, 2012

SETTING UP ECLIPSE FOR ANDROID DEVELOPMENT



This tutorial guides the reader to:
  1. Install JDK6
  2. Install JDK7
  3. Install Android SDK
  4. Install Android Platform SDK
  5. Set up Eclipse Indigo for Android SDK
  6. Test Android Virtual Device(AVD)
This tutorial may take up to 2 hours or more. It is recommended that the reader pauses in between the steps to discuss/recall the key points.
  1. Install JDK 6
    JDK6 can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html


  2. Install JDK7
    The latest version of JDK is 7. By installing JDK7, we may be able to use the latest features of JDK.
    JDK7 can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html



  3. Install Android SDK.
    This tutorial uses Installer R18.
    It can be downloaded from http://dl.google.com/android/installer_r18.0.0-windows.exe
    R18 is accompanied by ADT18 which is needed to update Eclipse in the next steps. ADT 18 can be downloaded from http://dl.google.com/android/ADT-18.0.0.zip
    Additionally the tools for R18 can be downloaded from https://dl-ssl.google.com/android/repository/tools_r18-windows.zip

    run “installer r18.0.0-windows.exe” to install Android SDK. By default the program will be installed to “Program Files” folder.



    Detecting Java SDK


    Choose all users


    Choose install location.


    Installation process.


    Completion. Untick “Start SDK Manager…”


  4. Install Android Platform.
    Upon successful completion of the above SDK installation process, an SDK Manager will pop up and connect to Android website to search for downloadable platform files. Live connection provides latest platform files which is good but if there is connection problem, platform files may not be installed successfully.

    Alternatively, you may use the unofficial Offline SDK Installer. Skip Step 5 if you do not wish to try Offline SDK Installer.
  5. Install Offline SDK Installer.
    Caution: This is unofficial.

    To install offline SDK, we need offline SDK installer and offline repository.

    offline SDK installer.


    offline repository

    Run offline SDK installer. Choose “I already have the offline packages, I want to install them now”

    Select Android SDK folder. If your Android Base installer has been installed successfully, the program would be able to detect the folder.

    Select offline repository. Browse to get the path to your offline repository.

    Select items and Deploy.

    Installation will take sometime. Look at the column Status to check the deploy process. Don’t worry if deploy process failed. We can always update the installation in the next step (Step 6).

    When you are done, click Close.
  6. Official Android SDK Manager.

    Android SDK Manager can be found at the home directory of Android SDK. By default it is at “C:\Program Files\Android\android-sdk”. 

    Run SDK Manager.
    SDK Manager will establish connection to Android Website and displays Platform Installation status. (If you have followed Step 5, you may likely see the following output.) The output below shows a minimum requirement for Android 4.
  7. Extract Eclipse to c:\
  8. When you log in for the first time, Eclipse would ask for the workspace folder path.

  9. Eclipse Welcome screen.
  10. Install Android ADT

    Select ADT zip file


    Review items to be installed.

    Accept agreement.


    ADT will be installed.


    You may get warning message. Click OK.


    When installation is completed, Eclipse will prompt for Restart Now.
  11. Install Android SDK.
    When Eclipse restarts after ADT installation, it may ask for SDK reference.

    If you have already installed Android SDK, Choose “Use existing SDKs” and Browse the installed path (by default it should be under the Program Files).

    Contribute usage option.

    When Eclipse has been fully loaded and Welcome window displayed, check the Android installation by looking at Help/About. The green Android icon should appear as follows.

No comments: