Npi project error
Error:Read timed out
Consult IDE log for more details (Help | Show Log)
Modify Gradle for version adaptation:
2020.3.20 bluetooth remote control report error:
read failed, socket might closed or timeout, read ret: -1
bt socket closed, read return: -1
This general error will be tried catch, because IO operations are involved, so it is difficult to find without debug.
I don’t know how to solve it after I find it;
My practice, bluetooth transmission do not disconnect operation, no matter how do not love to send such instructions.
The reason for this error is that a Socket of Client or service is closed, so the message cannot be sent or accepted. Since there is a catch, the application will not crash.
Error:Read timed out
Consult IDE log for more details (Help | Show Log)
Modify Gradle for version adaptation:
2020.3.20 bluetooth remote control report error:
read failed, socket might closed or timeout, read ret: -1
bt socket closed, read return: -1
This general error will be tried catch, because IO operations are involved, so it is difficult to find without debug.
I don’t know how to solve it after I find it;
My practice, bluetooth transmission do not disconnect operation, no matter how do not love to send such instructions.
The reason for this error is that a Socket of Client or service is closed, so the message cannot be sent or accepted. Since there is a catch, the application will not crash.