Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error taking screencap #19

Open
freosc opened this issue Dec 24, 2020 · 0 comments
Open

Error taking screencap #19

freosc opened this issue Dec 24, 2020 · 0 comments

Comments

@freosc
Copy link

freosc commented Dec 24, 2020

The error log contains this messsage
ERROR: Unable to retrieve screen capture, aborting rendering...

OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)
ADB:
Version 1:8.1.0+r23-5~18.04
Installed as /usr/lib/android-sdk/platform-tools/adb

AFAIK if I manually take a screen capture I have to get rid of the "\r" characters, like so:
adb shell screencap -p | sed 's/\r$//' > screen.png
(without the sed, the png is not formatted correctly)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant