question

carl-artsfuse avatar image
carl-artsfuse asked

Screen captures via Web App Tester are 0 bytes

I am trying to get screenshots of my web app on the Fire TV using Web App Tester. However, all generated files are zero bytes. I am connected via adb over wifi and can browse the filesystem and see files with specified filename are being created. They are just... empty. Anyone know what could be going on? If Web App Tester somehow prevents screencap from working, how do other people get and submit screenshots?
web apps
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Levon@Amazon avatar image
Levon@Amazon answered
Hi carl_artsfuse, Welcome to dev forums and thanks for posting! It might be a permissions issue, related to where files can be saved / written to. What happens if you don't use the Web App Tester, and execute the screencap command manually directly via adb, something like this: adb shell screencap -p /sdcard/screencap.png && adb pull /sdcard/screencap.png Reference docs: https://developer.amazon.com/appsandservices/support/submitting-your-app/tech-docs/04-taking-screenshots
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.