On the Android SDK Developer page, it was pretty simple to find an auto-installer for Windows systems. Simply go through the steps and install what they ask for including the downloadable content.http://developer.android.com/sdk/index.html
Install Eclipse and follow these instructions to get the ADT plugin.
Accept the license agreement:
Now, lets head to a “Hello World” example and head to the “Create an AVD” section:
I then restarted Eclipse and received this error message:
Basically, I just need to set the PATH environment variable in Windows to point to the Android SDK tools directory. No big deal:
“C:\Program Files (x86)\Android\android-sdk-windows\tools”
I can do this by, right clicking “My Computer” and selecting “Properties”, then “Advanced System Settings” and on the “Advanced” tab, I should have “Environment Variables.” Scroll down to the “PATH” variable on the “System Variables” section, and add in the above path to the end, separated by a semi-colon.
Ok, so here is where everybody says to restart their computer.
Do a [Windows] + [R], or Start | Run and type “taskmgr” and press [Enter]
or [Ctrl] + [Alt] + [Del] + “Task Manager”
On “Processes” close “explorer.exe” and end the process. You can start it back up a couple of ways:
- [Ctrl] + [Esc] will open your start menu, or force start explorer.exe on Vista- machines… I believe
- In your Task Manager, [File] + [Run] and type “explorer.exe” and [Ok]
Then you should see your task bar re-open. Windows 7 does well with Environment variables, you can immediately run the command prompt “cmd” and “echo %path%” and see that these have been updated.
Setting the PATH will allow non-Eclipse Java builds. Now, setup the SDK in Eclipse, go to [Window], [Preferences], under Android browse to your Android SDK path, mine is “C:\Program Files (x86)\Android\android-sdk-windows”
Back on the Hello World instructions, setting up the AVD, lets setup our Virtual device on Android 2.3.1.:
Now, go ahead and click the “Play” button and the Virtual Android should show up with your app running.