You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am trying to install apk on device ggetting below error
Installation of package failed PrematureEOFError: Premature end of stream, needed 1 more bytes
at Socket. (/app/node_modules/@devicefarmer/adbkit/lib/adb/parser.js:118:32)
at Socket.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Any help would be appreciated..
The text was updated successfully, but these errors were encountered:
I think this is caused by #366 - this is happening due to some kind of error on the device during install. One possible case is that the device is out of space, but there's probably many possible causes.
You'll need to install manually via ADB yourself, or patch adbkit to log its ADB output, if you want to see the full error message that Android is throwing.
#366 has since been fixed, so failures like this should now have a clear error message that tells you why the install failed (so I think this can be closed).
When I am trying to install apk on device ggetting below error
Installation of package failed PrematureEOFError: Premature end of stream, needed 1 more bytes
at Socket. (/app/node_modules/@devicefarmer/adbkit/lib/adb/parser.js:118:32)
at Socket.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Any help would be appreciated..
The text was updated successfully, but these errors were encountered: