When you run the emulator with the Android Virtual Device Manager , you should check the Scale display to real size , and then specify the Screen Size (in) and Monitor dpi , which calculates the Scale value of 1.0 (or 0.50 re on the retina screen on OSX).
In my case, I specified a 4.7 in Screen Size and a 160 Monitor dpi , which gave a 0.50 Scale . When I take a screenshot of my emulator, it is now the pixel-by-pixel that I expect to see on the device.
You can also specify the -scale 1.0 command-line -scale 1.0 when starting the emulator from the command line.
If your emulator is already running, you can adjust the scale using the emulator console by sending window scale 1.0 . It makes too much use for me on my Retina MBP.
Open your running emulators with adb devices . You should see the output as follows:
$ adb devices List of devices attached emulator-5554 device
Then you can connect to the device and send the zoom command:
$ telnet localhost 5554 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Android Console: type 'help' for a list of commands OK window scale .50 OK ^] telnet> quit Connection closed.
And you can do it in a script with netcat:
$ echo 'window scale 0.50' | nc localhost 5554
source share