how to take screenshot using adb command code example Example: adb screenshot adb exec-out screencap -p > screen.png