-
开启电视开发者模式,允许安装未知来源应用及开启 ADB 调试
-
电脑端下载 adb 工具 点击下载
-
同一局域网的电脑使用 adb 工具连接(提前查看电视 IP)
shellD:\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提示未授权
shellD:\adb>adb connect 192.168.1.7 already connected to 192.168.1.7:5555再次连接,提示已连接
shellD:\adb>adb devices List of devices attached 192.168.1.7:5555 unauthorized查看已连接设备,显示未授权
shellD:\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.尝试直接安装 APK,报错未授权
-
停止 adb 服务,删除
用户/.android目录下的adbkey和adbkey.pubshelladb kill-server -
重启 adb 服务
shelladb start-server * daemon not running; starting now at tcp:5037 * daemon started successfully -
重新连接电视,并且注意观察电视上的弹框提示,允许 xx 设备调试(返回桌面,否则可能无法弹出提示框)
shellD:\adb>adb connect 192.168.1.7 connected to 192.168.1.7:5555 -
再次查看连接设备,没有未授权的提示了
shellD:\adb>adb devices List of devices attached 192.168.1.7:5555 device -
再次安装 APK 即可成功
shellD:\adb>adb install 电视家.apk Performing Streamed Install Success
红米电视 ADB 安装 app 报错 failed to authenticate xxx:5555
鬼畜的稀饭2023-08-07 13:08
相关推荐
ao-weilai12 小时前
MySQL数据库:用户管理Gl�ria1 天前
MySQL 单机版 vs 高可用版:宕机排查 + 故障处理螺蛳粉 螺蛳粉2 天前
第四篇:Keepalived + MySQL 主从高可用实战晚风叙码2 天前
MySQL 表的约束详解:从空属性到外键应用市场3 天前
把旧 Pixel 变成相册备份中转站(上):Mac 到安卓的照片传输工具设计——流式上传、sha256 校验、adb forward 与 Bonjour晚风叙码4 天前
MySQL 数据类型详解:从数值到字符串,一篇讲透一技安身5 天前
【mysql】Windows MySQL 8.4.10 绿色免安装喂饭教程ao-weilai5 天前
MySQL数据库:表约束ao-weilai8 天前
MySQL数据库:表操作Lancker10 天前
记一次 Druid 连接 MySQL 报 Communications link failure 的排查过程