Thursday, 17 April 2014

Android -adb fast and easy way to get screenshots

  • Connect android device to PC / Mac ( make sure android sdk path is set)
  • run below commands, screen shot of current screen is taken and save on to current folder from where this command is run
adb shell screencap -p /sdcard/screen.png
sleep 0.1
adb pull /sdcard/screen.png

1 comment: