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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -