how to capture screenshot by using adb

2016-07-12 10:26:06来源:oschina作者:june人点击

general way:


adbshellscreencap-p/sdcard/screen.png
adbpull/sdcard/screen.png
adbshellrm/sdcard/screen.png

better way:


adbshellscreencap-p|perl-pe's//x0D/x0A//x0A/g'>screen.png

reference: http://blog.shvetsov.com/2013/02/grab-android-screenshot-to-computer-via.html


最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台