webadb / webadb.js

ADB host implementation based on WebUSB
https://webadb.github.io
MIT License
408 stars 71 forks source link

connt pull file , size over 4kb #13

Open Miracle258 opened 4 years ago

Miracle258 commented 4 years ago

hi ,great ! I used this nice art,it is so wonderful. thank you! now,I find ,full file larger than 4KB,it failed. message: expected at least 65536, got 4096! how can I do it?

Maygician commented 2 years ago

webadb.js:623 Uncaught (in promise) Error: PULL DONE failed on /sdcard/Pictures/1642089797468.jpg at webadb.js:623 at async pull (adbt:33) at async test (adbt:43)


getting this, while running your test. that's if (decode_cmd(cmd) != "DONE" || zero != 0) this string ^ so it loads some, then fails. what I actually want is retrieving a screenshot, so any advises are welcome my scenario is close to rdp, so I want something like scrcpy, only with pure javascript

Maygician commented 2 years ago

Not sure if it's the same issue, but leaving it here.