-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ws.connect causes error... #182
Comments
Do not run your code on the main thread |
I try this code in Service at first. Unfortunately, with same error !! |
Service runs in main thread |
@dinalt2006 |
It's my code
It causes this error : android.os.NetworkOnMainThreadException
Please, catch my error ...
The text was updated successfully, but these errors were encountered: