Tuesday 11 June 2013

Installing the Android Emulator

  1. Download the Android SDK and copy it into a folder, e.g. C:\Program Files (x86)\Android SDK
  2. Create a folder for your SDK home, e.g. C:\Android.
  3. Set the system environment variable ANDROID_SDK_HOME=C:\Android
  4. Run "SDK Manager.exe" and download any additional targets as required.
  5. Create a new Android Virtual Device (AVD). It will save to  C:\Android\.android\avd. 
  6. Open a new command prompt as administrator. 
  7. Run C:\Program Files (x86)\Android SDK\sdk\tools\emulator -avd <My AVD Name> -http-proxy <server>:<port> -dns-server <DNS Server> 
  8. Start the device.
  9. Go to settings->Wireless & networks->mobile networks->Access Point Names. Press menu button. an option menu will appear. 
  10. From the option menu select New APN. 
  11. Click on Name. provide name to apn say My APN. 
  12. Click on APN. Enter www. 
  13. Click on Proxy. enter your proxy server IP. you can get it from Internet Explorer's internet options menu.
  14. Click on Port. enter port number in my case it was 8080. you can get it from internet explorers internet options menu. 
  15. Click on User-name. provide user-name in format domain\user-name. generally it is your systems login. 
  16. Click on password. provide your systems password. 
  17. press menu button again. an option menu will appear. 
  18. Press save this and try to open your browser.

No comments:

Post a Comment