Beruflich Dokumente
Kultur Dokumente
[Tutorial] How to Setup Eclipse 3.5 & Android SDK 2.1 - xda-developers
Devices by OS or Manufacturer
PORTAL
WIKI
IPHONE FORUMS
TODAY'S POSTS
Register
Remember Me? Log in
Android Development and Hacking Android Software Development Name User [Tutorial] How to Setup Eclipse 3.5 & Android SDK 2.1
THREAD TOOLS
DISPLAY MODES
Thread Tools: #1
There are many ways to develop for Android and because of all the options it is sometimes a little daunting getting your environment setup. I found myself bouncing from web page to web page, not really sure if I had the right tools and if they were setup correctly. I wanted to document the process that worked for me.
Goal: Step by step instructions to install and configure your Android development environment for Windows.
Environment/tools: Here is the setup I have chosen to use. * Windows (I'm using Windows 7, but any flavor of windows will do) * Eclipse IDE for Java Developers (v3.5 Galileo) * Java Platform (JDK 6 Update 18 ) * Android SDK Tools, Revision 4 Step 1. Install Eclipse IDE I chose to use the Eclipse IDE for Java Developers (v3.5 Galileo). You can download the it here * Download "Eclipse IDE for Java Developers (92 MB)" * This is a zip file and does not require installation. Just copy the eclipse folder into your programs directory * Download the installation file from Sun * Select your platform * Now run the JDK installation. I did not change any of the default installation options. When complete continue to step 3. Step 3: Install the Android SDK Tools, Revision 4
forum.xda-developers.com/showthread.php?t=646547
1/5
4/18/12
[Tutorial] How to Setup Eclipse 3.5 & Android SDK 2.1 - xda-developers
* Download the install package "android-sdk_r04windows.zip" * This does not require installation. Just unzip and copy the files. You can install the package anywhere but remember where you put as you will need to reference it in Eclipse. I happen to install it inside my eclipse folder. Step 4: Configure Android SDK * Launch "SDK-Setup.exe" located in the Android SDK install folder" * If you receive the following "Failed to Fetch Error" we need to change the link to not use SSL. Close the error dialog. * Press "Cancel" on the "Choose Packages to Install" Dialog * Select "Settings" in the left pane * Check "Force h t t p s://.. sources to be fetched using over h t t p://" * Press "Save and Apply" * Select "Available Packages" in the left pane * Select "Documentation" (at the top of the list) * Select "Usb Driver Package, rev 3 (at the bottom of the list) * And then select any platform you want to develop. You can select all (be prepared for a long download) or you can select only the platfrom for you phone. The Nexus One uses 2.1 and the Droid for Verizon uses 2.0.1. * Check "Accept All" and Press "Install Accepted" * * * * When done press "Close" Now we are going to create a virtual device (AVD) Select "Virtual Devices" in the left pane Select "New..."
* Create the following new Android Virtual Device o Name: Android2.1 o Target: Android 2.1 API Level 7 (Or which ever API you installed) o SD card Size: 4000 MiB to 32000MiB (16000 MiB shown) o Leave the rest at the default settings * Press "Create AVD". Be patient it may take a few minutes to create your new AVD. * Close the SDK setup. Step 5: Configure Eclipse (These instructions are for Galileo version of Eclipse. Please see this page for instructions if you downloaded the Ganymede version of Eclipse) * Launch Eclipse for the first time. You will be asked where you want to your workspace folder to be located. o I used the default location. o Check "Use this as the default and do not ask again" so you don't have to answer this question every time. o Press "OK".
forum.xda-developers.com/showthread.php?t=646547
2/5
4/18/12
[Tutorial] How to Setup Eclipse 3.5 & Android SDK 2.1 - xda-developers
* Select "Help > Install New Software..." * Press "Add..." * Fill out the Add Site information o Name: Android o Location: (URL blocked) o Press "OK" If you get an error don't use SSL. change location from " (URL blocked)" to "(URL blocked)" * After a connection is made and available tools are retrieved expand "Developer Tools" and select "Android DDMS" and "Android Development Tools" * Press "Next" * Press "Next" again. * Check "I accept the terms of the license agreements" * You may receive a Security Warning about unsigned content. Press "OK" * Done. Now you should restart Eclipse. * After rebooting we need to tell Eclipse where we copied the "Android SDK" in step 3. * Select "Windows > Preferences" * Select "Android" from the left pane. * For the SDK Location, browse to where you installed the SDK. * Press "OK" * A dialog box will appear. If you want to send usage data to Google leave it checked, other uncheck it and press "Continue". * Close Eclipse You are now ready to build your first application. I have this entire tutorial (with screen captures) and others on my blog AndroidCodeMonkey.
cgingermany
Thanks Meter 6
#2
What do you mean by this? " Just copy the eclipse folder into your programs directory * Download the installation file from Sun
Senior Member
forum.xda-developers.com/showthread.php?t=646547
3/5
4/18/12
[Tutorial] How to Setup Eclipse 3.5 & Android SDK 2.1 - xda-developers
I am a "noob" but I want to learn and do things right the first time so I can put time into quality work and not time into trying to figure out how to work the system, etc... Can you be a tad more specific please? Thank you __________________ Black Tmobile Vibrant ClockworkMod Recovery Trigger 3.0.1 w/ voodoo enabled 8GB Transcend Class 6 Viewsonic G Tab! Vegan-Tab 7.1.0 W/ Clemsyn kernel @1500 OC 8GB Class 6 Kingston MSD HTC Sensation!! S-Off-line w/ every ROM I catch-up to 8GB class 6
#3
" Just copy the eclipse folder into your programs directory
By this I mean you open the zip file and copy the contents of the zip file into your programs directory. If you visit my blog you will see some screen captures that might help you.
Previous Thread
Next Thread
Posting Rules You may You may You may You may not post new threads not post replies not post attachments not edit your posts
forum.xda-developers.com/showthread.php?t=646547
4/5
4/18/12
Forum Rules
[Tutorial] How to Setup Eclipse 3.5 & Android SDK 2.1 - xda-developers
Passengers:
1
Depart Date: All times are GMT +1. The time now is 09:44 AM.
18
Apr
2012
Return Date: -- XDA 2010 Copyright xda-developers. Follow us on Twitter - C ontact Us - Are you a developer? XDA-Developers Home - View Forum Leaders - Legacy Devices - Top
*Conditions apply
forum.xda-developers.com/showthread.php?t=646547
5/5