- Enable TV developer mode to allow installation of applications from unknown sources and enable ADB debugging
- Download the adb tool on the computer. Click to download.
- Use the adb tool to connect computers on the same LAN (check the TV IP in advance)
Prompt unauthorizedD:\adb>adb connect 192.168.1.7 * daemon not running; starting now at tcp:5037 * daemon started successfully failed to authenticate to 192.168.1.7:5555
Connect again, prompt connectedD:\adb>adb connect 192.168.1.7 already connected to 192.168.1.7:5555
Checking the connected device shows that it is not authorized.D:\adb>adb devices List of devices attached 192.168.1.7:5555 unauthorized
Trying to install the APK directly, it reports an unauthorized error.D:\adb>adb install 电视家.apk error: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set Try 'adb kill-server' if that seems wrong. Otherwise check for a confirmation dialog on your device. Performing Push Install adb: error: failed to get feature set: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set Try 'adb kill-server' if that seems wrong. Otherwise check for a confirmation dialog on your device.
- Stop the adb service, delete the and
用户/.android
in the directoryadbkey
adbkey.pub
adb kill-server
- Restart adb service
adb start-server * daemon not running; starting now at tcp:5037 * daemon started successfully
- Reconnect the TV, and pay attention to the pop-up prompt on the TV to allow xx device debugging (return to the desktop, otherwise the prompt box may not pop up)
D:\adb>adb connect 192.168.1.7 connected to 192.168.1.7:5555
- Check the connected device again. There is no unauthorized prompt.
D:\adb>adb devices List of devices attached 192.168.1.7:5555 device
- Install the APK again to succeed
D:\adb>adb install 电视家.apk Performing Streamed Install Success
Redmi TV ADB installation app error failed to authenticate xxx:5555
Guess you like
Origin blog.csdn.net/qq12547345/article/details/132120000
Ranking