Android Question Installing file to device error

Hilton

Active Member
Licensed User
Longtime User
Hi folks,

I am using windows 10 and b4a ver5.50.

I have been coding and testing merrily for some weeks and then I started getting installation errors as shown below:

error: protocol fault (couldn't read status length): No error
error: protocol fault (couldn't read status length): No error
Installing file to device. Error

I have searched the internet plus the community and have not been able to locate anything helpful.

If I do not use b4a-bridge I have to exit b4a and reload and then generally I can recompile once. I have tried restarting adb. I have checked that the device is listed by adb and it is. I switched to b4a-bridge and it will install the app a few times and then start coming up with the above message.

Sometimes, if I end adb using taskmanager it will work once or twice.

Does anyone have any bright ideas?

Thank you,
Hilton.
 

Hilton

Active Member
Licensed User
Longtime User
First note that adb has nothing to do with B4A-Bridge. adb is only used with usb debug mode.

What happens when you try to install the app when the device is connected in usb debug mode (B4A-Bridge should be disconnected)?

I have uninstalled and reinstalled b4a v5.5 and usb drivers a few times. I decided to clean up as much as possible and try one last time and suddenly everything is working again.

I apologise for wasting your time.
Hilton.
 
Upvote 0
Top