cstyan / adbDocumentation

Better documentation of the ADB protocol, specifically for USB uses.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FAIL path too long when trying to pull a file

JCChamo opened this issue · comments

After I define the file I want to pull,

val remoteFile = "data/local/tmp/app.apk"

I want to send the path:

stream.write(remoteFile.toByteArray())

But when I read, it returns FAIL������path too long and stream closes with IOException. I already applied this fix, but it makes no difference.

Any clue of what's going on or any workaround?

Thanks in advance.