-
Notifications
You must be signed in to change notification settings - Fork 253
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
client.openTcp will block the real adb shell #72
Comments
Are you using tethering on your device? |
Nope, I just use client.startService and then try to use client.openTcp to connect to the port on device. But the openTcp will block the adb of the device, event if I use command line |
I get the conn after first call client.openTcp, should I call con.end() before I exit the process? |
Check if forwards behave the same (without adbkit). Start the service and forward a local port to the device port. Connect and see if the same thing happens. Also, check once more whether tethering is enabled or not. If it is, turn it off. |
I am sure tethering is not enabled. It just happen with Android 6.0.1,android android 7.x for sometime. Is there something wrong with the my situation that I resue the same adbClient object for a lot of commands ? |
I think you're going to have to show your code. Please try to make a minimal test case that shows the behavior. |
I just find that the client.openTcp will block the real adb shell some time for android 6.x and 7.x
The text was updated successfully, but these errors were encountered: