1 connect the Set-top box and the computer with a network cable, and set the set-top box IP so that both are in the same segment.
2 Ping set-top box to see if Ping is on.
3 adb connect back with Set-top box IP, no port number. To see if we can connect.
4 Enter ADB device to find the set-top box devices, if a list of devices attached appears, 192.168.0.104 offline.
It is resolved as follows:
Workaround:
ADB kill-server
ADB start-server
ADB remount
ADB devices
ADB shell
After executing the above command
Re-execute the ADB connect IP address
After performing the ADB devices view, the list of devices attached 192.68.0.104:5555 device should appear so that the APK can be installed.
Execute adb install "f:dang.apk"
Wait a minute to show that the installation was successful.
This article is from the "Technical Analysis" blog, please make sure to keep this source http://10415662.blog.51cto.com/10405662/1981635
Use adb install to install APK