Reputation: 6728
While doing a remote debugging on GoogleTv, I've followed everything mentioned here: https://developers.google.com/tv/android/docs/gtv_hardware_devices The problem is that I'm able to do remote debugging on a Windows machine, but the same thing is not working on UBUNTU.
On Ubuntu, when I do:
adb connect <ip>
It shows connected. But when I do:
adb devices
It shows me nothing. Restarting the adb server has been of no help.
Upvotes: 0
Views: 2544
Reputation: 9375
At the risk of repeating the obvious. What's your Windows ip address? And what's your Ubuntu's workstation ip address?
In the Settings application, select Applications > Development.
Set Remote debugging to allow your workstation to connect to this device.
Click Debugger IP address, then in the dialog enter your workstation's IP address and click Set.
Obviously, this must be done twice since the ip address of your Windows workstation is going to be slightly different from the ip address of your Ubuntu workstation.
Upvotes: 1
Reputation: 1836
If it works on windows but not Ubuntu make sure that your Ubuntu machine IP is the one specified on the GTV device development settings. Also check your firewall settings on Ubuntu, if your IP is correct try to disable the firewall and reconnect to your GTV device. If it works then create a custom rule for your firewall.
Upvotes: 0