AndroidTV ADB error?

More
1 year 10 months ago #3192 by Nillaz
AndroidTV ADB error? was created by Nillaz
I walked away from troubleshooting why navigating on my nvidia shield was so laggy a few weeks ago because it was leading to frustration but now it's become more imperative that I figure this out. One of my remotes is now broken from having to press the dpad buttons repeatedly while navigating the Shield TV. Living with it any further and replacing $500 remotes every 6 months is not an acceptable solution. I need to get navigation by dpad to a state where I can hold a button to scroll without myServer continuing to issue commands after I let go of the button.

Rather than experiment with my live server I bought another server from a previous owner to set up as a testing machine. I have it up on my network and have connected a spare Nvidia Shield to it without issue. When I select the Shield on the remote it loads the default Shield TV page correctly and the installed apps come up on the screen so I know the server and Shield are communicating with each other. If I press one of the icons on the screen it loads the app correctly.

If I press a button on the remote I get no response from the Shield. When I look in the myServer logs I get this error:08/09/2024 20:58:00.58 · DEBUG · Server.doCommand - AV|{{active_shieldtv_{{clientname}}}}~SendKey~Right from remote2
08/09/2024 20:58:00.58 · DEBUG · Server.doCommand - AV|4~SendKey~Right
08/09/2024 20:58:00.58 · DEBUG · AndroidTV.doCommand - Cmd=[4~SendKey~Right] Client=[remote2]
08/09/2024 20:58:00.58 · DEBUG · AndroidTV.doCommand - Reconnect to 192.168.1.96:5555
08/09/2024 20:58:00.58 · ERROR · AndroidTV.doCommand - Error in MoveNext - Object reference not set to an instance of an object.
Anyone know how I can fix this error? I've tried uninstalling and reinstalling the Shield and that hasn't gotten me anywhere. Any suggestions would be appreciated!

Please Log in to join the conversation.

More
1 year 10 months ago #3198 by David Li
Replied by David Li on topic AndroidTV ADB error?
From the myServer system that the Shield is not responsive, open a terminal session on the myServer Controller desktop and issue a command of:

adb devices

You should see the IP address of the Shield, followed by port 5555

If you don't see this, then you have an AndroidDriver setup issue, or haven't rebooted myServer since setting it up.

Please Log in to join the conversation.

More
1 year 10 months ago #3202 by Nillaz
Replied by Nillaz on topic AndroidTV ADB error?
I've definitely rebooted the server but I will check on the ADB connection. Thanks for giving me a direction!

Please Log in to join the conversation.

More
1 year 10 months ago #3203 by David Li
Replied by David Li on topic AndroidTV ADB error?
And ensure you have ADB turned on on the Shield.
allonis.com/support/documentation?view=category&id=144

Please Log in to join the conversation.

More
1 year 10 months ago #3205 by Nillaz
Replied by Nillaz on topic AndroidTV ADB error?

From the myServer system that the Shield is not responsive, open a terminal session on the myServer Controller desktop and issue a command of:

adb devices

You should see the IP address of the Shield, followed by port 5555

If you don't see this, then you have an AndroidDriver setup issue, or haven't rebooted myServer since setting it up.
 

It turned out to not be either of these things, but this pointed me in the right direction. Thanks for setting me on the correct path.

Having said that, this now eliminates all possible variables on my end for why the navigation on the Shield behaves the way it does. I will start another thread to address this specifically.

Please Log in to join the conversation.

More
2 months 2 weeks ago #4939 by glitchhound
Replied by glitchhound on topic AndroidTV ADB error?
@Nillaz do you recall what "the right direction" was? I am getting the exact same error, adb devices shows the correct IP address but commands don't work because of this MoveNext error.

Please Log in to join the conversation.

Time to create page: 0.185 seconds