android installation guide download (1)

Upload: deepak-sing-roha

Post on 14-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Android Installation Guide Download (1)

    1/12

    1Android Installation Guide

    ANDROID DEVELOPMENT

    ENVIRONMENT SETUP GUIDE

  • 7/30/2019 Android Installation Guide Download (1)

    2/12

    2Android Installation Guide

    Table Of Contents:

    Know your System Requirements: ................................................. 3

    Prerequisites: ................................................................................... 6Installing JDK:.................................................................................. 6Installing Android SDK:................................................................. 10Troubleshooting: ........................................................................... 12

  • 7/30/2019 Android Installation Guide Download (1)

    3/12

    3Android Installation Guide

    Know your System Requirements:

    If you are using Windows 7:

    Click on start or press windows keyright click on Computer select

    Properties.

    Here you will find the System settings as below:

  • 7/30/2019 Android Installation Guide Download (1)

    4/12

    4Android Installation Guide

    From the above window you can find out whether your machine is 64 bit or 32 bit machine.

    On a Windows XP OS follow the following steps:

    from the start menu

    Go to Control Panel

    Go to System.

    Here you will find the System settings as below:

  • 7/30/2019 Android Installation Guide Download (1)

    5/12

    5Android Installation Guide

    As you can see the above Machine is a 32 bit machine as it is showing Microsoft Windows

    XP Professional.

    For a 64 bit machine it will show Microsoft Windows XP Professional X64 Edition.

    All the softwares viz. Eclipse,Android SDK,JDK will be

    downloaded for the type of machine found(viz 32 bit or 64 bit).

  • 7/30/2019 Android Installation Guide Download (1)

    6/12

    6Android Installation Guide

    Prerequisites:

    Java Development Kit (JDK and JRE).

    Android SDK.

    Installing JDK: Go to the URL: http://www.oracle.com/technetwork/java/javase/downloads/index.html

    Then click on Download under the JDK section.

    http://www.oracle.com/technetwork/java/javase/downloads/index.htmlhttp://www.oracle.com/technetwork/java/javase/downloads/index.html
  • 7/30/2019 Android Installation Guide Download (1)

    7/12

    7Android Installation Guide

    Choose the appropriate option that is - as per the machine on which you are installing the JDK

    viz. 32 bit machine or 64 bit machine.

    Once the download is over. Start the .exe file by double click on it.

  • 7/30/2019 Android Installation Guide Download (1)

    8/12

    8Android Installation Guide

    Now click on Next.

    Now click on Next.

  • 7/30/2019 Android Installation Guide Download (1)

    9/12

    9Android Installation Guide

    Once done with the Installation of JAVA.

    We need to set the Environment variables in order to use JDK with Eclipse.

    Go to MyComputer from the startup menuGo to PropertiesGo to Advanced SystemSettingsFrom the PopupGo to Environment Variables.

    Click on Add.

    Name the Environment Variable as path.

    Place the value of the JDK installation folder on your machine till the folders bindirectory. For ex: C:\Program Files\Java\jdk1.7.0_05\bin

    Create another environment variable name it as JAVA_HOME and set the values asC:\Program Files\Java\jdk1.7.0_05 i.e. excluding the bin directory.

    Once we have created the Environment variables, we are done with the process of JDK

    installation.

  • 7/30/2019 Android Installation Guide Download (1)

    10/12

    10Android Installation Guide

    Android SDK Installation:

    Download the complete android sdk installation bundle by clicking download button from

    herehttp://developer.android.com/sdk/index.html

    Accept the terms and conditions and select according to your system specifications (ex32bit, 64 bit).

    http://developer.android.com/sdk/index.htmlhttp://developer.android.com/sdk/index.htmlhttp://developer.android.com/sdk/index.htmlhttp://developer.android.com/sdk/index.html
  • 7/30/2019 Android Installation Guide Download (1)

    11/12

    11Android Installation Guide

    Now open eclipse.exe to run Eclipse. It is located under eclipse/ folder and you are donewith installation.

    Caution: Do not move any of the files or directories from the downloaded directory. If you

    move the eclipse orsdkdirectory, ADT will not be able to locate the SDK and youll need tomanually update the ADT preferences.

  • 7/30/2019 Android Installation Guide Download (1)

    12/12

    12Android Installation Guide

    Troubleshooting:

    If after the JDK and Android SDK installation, you find an error like below:

    You have made the wrong software installation i.e. the Eclipse IDE and the JDK are

    incompatible.

    An Example can be that the JDK was downloaded for 64 bit machine and Eclipse for a 32 bit

    machine or Vice versa or both could not be downloaded for the targeted machine.

    In order to resolve this do an Uninstall of JDK from Add/Remove Programs and download a new

    Eclipse and JDK for the Target Machine (64 bit or 32 bit) and follow the steps as mentioned

    from the beginning of the document.

    Happy Learning!