I recently had to reformat my computer, and I figure this would be a great start to show you how to setup the Android SDK in Eclipse.
Here goes..
- Download JDK 64bit.
- Download Eclipse 64bit – Go with Java for Developers
- Download Android SDK
- Extract eclipse to c:\eclipse
- Extract Android SDK c:\eclipse\android-sdk-windows
- Install JDK 64 bit
- Run Eclipse
- In Eclipse click Tools/Preferences and set SDK location
- Click OK/Apply both (didn’t work first time)
- Restart Eclipse
- Open Eclipse and click on Android Manager (tools) or android icon
- Download desired SDKs
- Install
- Restart Eclipse
—–
Now you are ready to start using Eclipse. But wait.. theres more.
Now that you have setup the environment you either need to test on a device, or setup a Virtual Device. There are enough tutorials out on the net on how to do this, use google.
I use my HTC Incredible, but it did not recognize my device on stock install. I had to modify the android_winusb.inf file
- Go into device manager, update driver point to
- C:\eclipse\android-sdk-windows\google-usb_driver\android_winusb.inf
- Then install the device (you will get a warning about being unsigned)
That’s it, you now have Eclipse, and Android setup with a real phone for testing.