红米电视 ADB 安装 app 报错 failed to authenticate xxx:5555
短信预约 -IT技能 免费直播动态提醒
- 开启电视开发者模式,允许安装未知来源应用及开启 ADB 调试
- 电脑端下载 adb 工具 点击下载
- 同一局域网的电脑使用 adb 工具连接(提前查看电视 IP)
提示未授权D:\adb>adb connect 192.168.1.7* daemon not running; starting now at tcp:5037* daemon started successfullyfailed to authenticate to 192.168.1.7:5555
再次连接,提示已连接D:\adb>adb connect 192.168.1.7already connected to 192.168.1.7:5555
查看已连接设备,显示未授权D:\adb>adb devicesList of devices attached192.168.1.7:5555 unauthorized
尝试直接安装 APK,报错未授权D:\adb>adb install 电视家.apkerror: device unauthorized.This adb server's $ADB_VENDOR_KEYS is not setTry 'adb kill-server' if that seems wrong.Otherwise check for a confirmation dialog on your device.Performing Push Installadb: error: failed to get feature set: device unauthorized.This adb server's $ADB_VENDOR_KEYS is not setTry 'adb kill-server' if that seems wrong.Otherwise check for a confirmation dialog on your device.
- 停止 adb 服务,删除
用户/.android
目录下的adbkey
和adbkey.pub
adb kill-server
- 重启 adb 服务
adb start-server* daemon not running; starting now at tcp:5037* daemon started successfully
- 重新连接电视,并且注意观察电视上的弹框提示,允许 xx 设备调试(返回桌面,否则可能无法弹出提示框)
D:\adb>adb connect 192.168.1.7connected to 192.168.1.7:5555
- 再次查看连接设备,没有未授权的提示了
D:\adb>adb devicesList of devices attached192.168.1.7:5555 device
- 再次安装 APK 即可成功
D:\adb>adb install 电视家.apkPerforming Streamed InstallSuccess
来源地址:https://blog.csdn.net/qq12547345/article/details/132120000
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341