cgutman / AdbLib

A Java library implementation of the ADB network protocol
BSD 3-Clause "New" or "Revised" License
464 stars 143 forks source link

Backup process with "sync" #14

Open MicKle3 opened 2 years ago

MicKle3 commented 2 years ago

Hello @cgutman,

I want to backup some files via my developing application. So, I used "sync" connection and opened stream via "RECV". (I want to pull about 40 files in this stream). But, sometimes adb pulled these files, sometimes no. When I debug this problem, read() function is not return anything. read() is always waiting.

How can I solve this problem?

(I hope, I can explain my problem.)

wangyuou commented 3 days ago

hello MicKle3, How is this RECV command format written? Thank you very much