How to take screenshot in android emulator

lseeo picture lseeo · Apr 9, 2013 · Viewed 59k times · Source

From Android 4.0, it supports volumn down+power key to take screenshot and saved in gallery. But how to do this in android emulator.

I know in eclipse, there is a 'take screenshot' button, but this is not what I want. I need it in the emulator and saved in emulator.

Answer

Pedro Lopes picture Pedro Lopes · Mar 1, 2014

As seen in this post: Screenshot of the Nexus One from adb?, you can also take a screenshot using adb:

 adb shell /system/bin/screencap -p /sdcard/screenshot.png
 adb pull /sdcard/screenshot.png screenshot.png