Page Last Updated: 6th October 2011
Downloads required: - Download
Java Standard Edition Development Kit (JDK)
- Download
Eclipse
- Go to www.eclipse.org
- Click on "Downloads"
- Click on "Windows 32 Bit" next to "Eclipse IDE
for Java Developers"
- Download
Android Development Tools (ADT) Plugin for Eclipse
- Download
Android Software Development Kit (SDK)
- Download
Platform Tools
- Download
Platform
- Download
API
- Download
Docs
- Download Code Samples
- Download
HTC Sync (or OEM USB Drivers for your phone for use with Android Debug
Bridge)
Installation Steps: - Install
Java Development Kit
- Execute
jdk-7-windows-i586.exe and install it.
- Extract
Eclipse
- Extract
contents of eclipse-java-indigo-SR1-win32.zip to "c:\eclipse-java-indigo-SR1-win32"
- The
folder named "eclipse" will be extracted and appear under "c:\eclipse-java-indigo-SR1-win32"
- Create
Shortcut to Eclipse
- Use
windows explorer and browse to
"c:\eclipse-java-indigo-SR1-win32\eclipse"
- Right
click eclipse.exe send its shortcut to the desktop
- Rename
the short cut from "eclipse.exe - Shortcut" to "Eclipse"
- Extract
Android Software Development Kit (SDK)
- Extract
contents of android-sdk_r13-windows.zip to
"c:\android-sdk_r13-windows"
- The
folder named "android-sdk-windows" will be extracted and appear
under "c:\android-sdk_r13-windows"
- Extract
Platform Tools
- Extract contents of platform-tools_r07-windows.zip to
"C:\android-sdk_r13-windows\android-sdk-windows"
- The
folder named "platform-tools_r07-windows" will be extracted and
appear under "C:\android-sdk_r13-windows\android-sdk-windows"
- Rename
"platform-tools_r07-windows" to "platform-tools" such
that
"C:\android-sdk_r13-windows\android-sdk-windows\platform-tools_r07-windows"
becomes
"C:\android-sdk_r13-windows\android-sdk-windows\platform-tools"
- Extract
Platform
- Extract
contents of android-2.3.3_r02-linux.zip to
"C:\android-sdk_r13-windows\android-sdk-windows\platforms"
- The
folder named "android-2.3.3_r02-linux" will be extracted and appear
under "C:\android-sdk_r13-windows\android-sdk-windows\platforms"
- Extract
API
- Extract
contents of google_apis-10_r02.zip to
"C:\android-sdk_r13-windows\android-sdk-windows\add-ons"
- The
folder named "google_apis-10_r02" will be extracted and appear
under "C:\android-sdk_r13-windows\android-sdk-windows\add-ons"
- Run
Eclipse
- Double
click on "Eclipse - Java" icon on your desktop
- Select
a location to place your workspace folder. You may leave it at the default
suggested path
- Check
the box "Use this as the default and don't ask again"
- Click
on the "Workbench" icon
- Install
the ADT Plugin for Eclipse
- Disable Ethernet/WiFi and any other network connection during the installation of ADT Plugin to prevent Eclipse from trying to connect to the internet to verify package information. If your connection firewall or limited for some reason (e.g. firewall or proxy), Eclipse will waste time trying to communicate with its servers without success, so its better to disable WiFi and unplug your Ethernet cable.
- While
in Eclipse, click on the "Help" menu and select "Install New
Software"
- Click
Add, in the top-right corner
- In the
Add Site dialog, click Archive
- Browse
to and select "ADT-12.0.0.zip"
- Enter a
name for the local update site (e.g., "Android Plugin") in the
"Name" field.
- Click
OK.
- In the
Available Software dialog, select the checkbox next to Developer Tools and
click Next.
- In the
next window, you'll see a list of the tools to be installed. Click
Next.
- Read
and accept the license agreements, then click Finish.
Note: If you get a security
warning saying that the authenticity or validity of the software can't be
established, click OK. - When
the installation completes, restart Eclipse.
-
Configuring
the ADT Plugin
- While
in Eclipse, Select Window > Preferences... to open the Preferences panel
- Select
Android from the left panel.
You may see a dialog asking
whether you want to send usage statistics to Google. If so, make your choice
and click Proceed. You cannot continue with this procedure until you click
Proceed. - Add
"C:\android-sdk_r13-windows\android-sdk-windows" as the SDK
Location in the main panel
- Click
Apply, then OK.
- Close
Eclipse.
- Set
Tools Path
- Right
click "My Computer" and select properties.
- Select
"Advanced Settings"
Click
"Environment Variables"
- In the
"System Variables" list, find "Path" and click Edit
- Append
"C:\android-sdk_r13-windows\android-sdk-windows\platform-tools" to
the text in the Variable value field
- Click
OK twice
- Install
docs
- Extract
contents of docs-3.2_r01-linux.zip to
"C:\android-sdk_r13-windows\android-sdk-windows"
- The
folder named "docs_r01-linux" will be extracted and appear under
"C:\android-sdk_r13-windows\android-sdk-windows"
- Rename
"docs_r01-linux" to "docs" such that
"C:\android-sdk_r13-windows\android-sdk-windows\docs_r01-linux"
becomes "C:\android-sdk_r13-windows\android-sdk-windows\docs"
- Install Code Samples
- Extract contents of samples-2.3.3_r01-linux.zip to "C:\android-sdk_r13-windows\android-sdk-windows"
- The folder named "samples-2.3.3_r01-linux" will be extracted and appear under "C:\android-sdk_r13-windows\android-sdk-windows"
- Rename "samples-2.3.3_r01-linux" to "samples" such that "C:\android-sdk_r13-windows\android-sdk-windows\samples-2.3.3_r01-linux" becomes "C:\android-sdk_r13-windows\android-sdk-windows\samples"
- Install
HTC Sync (or your phone's OEM USB Drivers)
- Execute
setup_3.0.5579.exe and install it.
References: |
|