-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Screenshots not working with Android 23 #133
Comments
Is "adb shell screencap" works? |
It works, but it does not give a valid image file.
And the error message when using the newer version of adbutils seems to be
that it does not recognize the data returned/is unable to determine the
image format.
…On Wed, Jun 12, 2024 at 6:59 AM codeskyblue ***@***.***> wrote:
Is "adb shell screencap" works?
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKNDW47HQLKHMUKGTR2EUTZG7IURAVCNFSM6AAAAABJCHWWCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSGEYDONZVGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Greger
http://gregerstoltnilsen.net
|
I have not investigated whether it is an Android 23 problem or some ADB version problem. If you run into some error like:
TL;DR: Then your fix could be as simple as passing a If you dive deeper to the bytes provided by the
Followed by a PNG byte sequence. So the solution is quite trivial. |
At some point between the current version (2.7.2) and 2.3.1 screenshots with Android 23 (on emulator) is no longer working.
I see there has been some back and forth with the screenshot function since then, but some of the changes has made it no longer usable with Android 23.
The text was updated successfully, but these errors were encountered: