#1. When defining an emulator with suppose size 1440×2560 or any other size, but with a ram size of 1gb or may be more, there are chances you might get an error :

emulator: WARNING: Requested RAM size of 1536MB is too large for your environment, and is reduced to 1152MB. Cannot set up guest memory 'android_arm': Invalid argument Error accepting connection, aborting

Well, the solution is to edit the emulator configuration and reduce the ram size that you have assigned :).

#2. Due to screen resolutions, the emulator does not seem to start at a correct location, and you cannot resize the emulator too using the move or resize window tool. But, do not be dismayed. You can still use telnet.

Steps:

  • Check if telnet is allowed in your system : Go to Control panel -> Programs and features -> Turn on/off windows features-> Tick mark Telnet client (Telnet server can also be tick marked)
  • Go to cmd and type:
    telnet localhost 5554 (if the emulator reads emulator-5554 - 
    you get this when you type adb devices)
    window scale 0.25 (you can type in any value and experiment till 1)
    quit

Happy coding!

Advertisements