Redmi TV ADB installation app error failed to authenticate xxx:5555

  1. Enable TV developer mode to allow installation of applications from unknown sources and enable ADB debugging
  2. Download the adb tool on the computer. Click to download.
  3. Use the adb tool to connect computers on the same LAN (check the TV IP in advance)
    D:\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
    
    Prompt unauthorized
    D:\adb>adb connect 192.168.1.7
    already connected to 192.168.1.7:5555
    
    Connect again, prompt connected
    D:\adb>adb devices
    List of devices attached
    192.168.1.7:5555        unauthorized
    
    Checking the connected device shows that it is not authorized.
    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.
    
    Trying to install the APK directly, it reports an unauthorized error.
  4. Stop the adb service, delete the and 用户/.android in the directoryadbkeyadbkey.pub
    adb kill-server
    
  5. Restart adb service
    adb start-server
    * daemon not running; starting now at tcp:5037
    * daemon started successfully
    
  6. 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
    
  7. Check the connected device again. There is no unauthorized prompt.
    D:\adb>adb devices
    List of devices attached
    192.168.1.7:5555        device
    
  8. Install the APK again to succeed
    D:\adb>adb install 电视家.apk
    Performing Streamed Install
    Success
    

Guess you like

Origin blog.csdn.net/qq12547345/article/details/132120000