android - ADB Screenshot: not found? -
My phone runs 2.3.6 gingerbread. I write these lines to take a screenshot:
adb shell screencap -p /sdcard/screen.png It says that permission is denied Has been done! So I add su like this: open ADB "su -c 'screencaps-p /sdcard/screen.png'" Now when I run it, it says, "Screenshots: Not Found!"
You can create a screenshot.py file with the following content and make it with the Makarın instead of ADB Complete: MonkeyRunner, MonkeyDevice device = MonkeyRunner.waitForConnection () Results = = Tools
Les snapshot () result.writeToFile ('& gt; some path & gt; / screenshot from com.android.monkeyrunner import .png ',' png ') and order it (on Windows)
& lt; Android SDK Path & gt; \ tools \ monkeyrunner.bat & lt; Some paths & gt; \ screenshot.py
Comments
Post a Comment