02 May 2011

How To: Install Android SDK and play with Android 2.0 in Emulator

No Comments About, Android SDK, How Tos
  • Sharebar

 

Google released the Android 2.0 SDK in October 2009. So here we are with instructions for downloading and installing the Android 2.0SDK, then create and run an emulator instance.

Procedure:

Step 1:  Download appropriate file for your system from http://developer.android.com/sdk/index.html

Step 2: Extract to desired location

Step 3: Run “SDK Setup.exe” (or the equivalent for your system)

Step 4: Launch sdksetup.ext

If you receive an error message stating “Failed to fetch url…” then you will have to use http instead of https in the Setup program.

Got an error?

  • Close the “Refresh Sources” window
  • Cancel the “Choose Packages to Install” window
  • Select “Settings” from the left side of the “Android SDK and AVD Manager” window
  • Check the box labeled “Force https://… sources to be fetched using http://…”
  • Click “Save and Apply”
  • Close and restart the SDK Setup program

 Step 5:  Choose the packages that you wish install

  • If only interested in trying out the Android 2.0 Emulator
  • Reject everything except “SDK Platform Android 2.0. API 5, revision 1” by selecting each item then selecting the Reject option
  • Accept All, if you plan to develop Android applications and Games
  • Click “Install Selected”

Step 6: Allow the selected packages to download and install then close the “Installing Archives” window

Step 7: Create a new Android Virtual Device (AVD)

Instructions for emulating the Moto Droid:

  • Select “Virtual Devices” from the “Android SDK and AVD Manager” window
  •  Click “New”
  • Enter a Name
  • Choose a Target
  • Enter a size for the emulated SD Card
  • Choose a Skin
  • To emulate hardware like G1, MyTouch 3G, Hero, leave the default value
  •  To emulate the Motorola Droid, choose WVGA 854
  •  To emulate other devices, choose anything else
  •  Click “Create AVD”

Step 8: Start the newly created Virtual Device.

  • Choose the Virtual Device from the list
  • Click “Start”
  • Click “Launch”

Step 9: Allow abundant time for Emulator to start up

Bingo! You all set to go!

Tags: , , , , , , ,
written by
The author didn‘t add any Information to his profile yet.
Related Posts
No Responses to “How To: Install Android SDK and play with Android 2.0 in Emulator”

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes