I have just started writing Android apps. They are just for my own education / amusement.
I have Android Studio installed on both a Windows10 setup and Debian Linux. Both systems are on the same physical computer and therefore connect to the same router on the same network.
I can write and test my apps on the emulators on both systems and they work fine.
I have 2 TV boxes that I am also practicing on, both working and both on the same network.
I connected to both of them using adb over TCP/IP under Windows and installed and ran my app on them - no problem.
Since then, I had to reboot my computer and now they won't connect. If I use the standard command and the default port 5555 then I get error 10031. If I try a different port I get error 10016.
There are numerous posts online about this but none of the remedies work for me.
I think it is a Windoze problem because If I boot into Debian Linux and run Android Studio and adb on there, I can connect to both boxes and run my app. Going back to Windows again still gives the same errors. I have re-booted everything and nothing helps.
Obviously, both boxes have developer mode enabled. This is not a network issue, everything is on the same network. I do not have the option to connect via USB cable as many of the solutions suggest but I can't see why that would change anything. USB / TCP/IP are totally different protocols.
Any ideas will be gratefully accepted!
Colin
I have Android Studio installed on both a Windows10 setup and Debian Linux. Both systems are on the same physical computer and therefore connect to the same router on the same network.
I can write and test my apps on the emulators on both systems and they work fine.
I have 2 TV boxes that I am also practicing on, both working and both on the same network.
I connected to both of them using adb over TCP/IP under Windows and installed and ran my app on them - no problem.
Since then, I had to reboot my computer and now they won't connect. If I use the standard command and the default port 5555 then I get error 10031. If I try a different port I get error 10016.
There are numerous posts online about this but none of the remedies work for me.
I think it is a Windoze problem because If I boot into Debian Linux and run Android Studio and adb on there, I can connect to both boxes and run my app. Going back to Windows again still gives the same errors. I have re-booted everything and nothing helps.
Obviously, both boxes have developer mode enabled. This is not a network issue, everything is on the same network. I do not have the option to connect via USB cable as many of the solutions suggest but I can't see why that would change anything. USB / TCP/IP are totally different protocols.
Any ideas will be gratefully accepted!
Colin