Google tv安装软件Adb指令

192.168.1.197

adb connect 192.168.1.197

adb install “”

  1. 当我连着手机充电的时候,启动模拟器调试,执行ADB指令时,报错。

C:\Users\Alexander>adb shell
error: more than one device and emulator
C:\Users\Alexander>adb install e:\good.apk
error: more than one device and emulator

  1. 碰到这种情况,首先要查一下,是不是真的有多个设备或模拟器。

C:\Users\Alexander>adb devices
List of devices attached
emulator-5554       device
4dfadcb86b00cf05    device

  1. 发现还真是多个设备,那就需要为ADB命令指定设备的序列号了。

C:\Users\Alexander>adb -s emulator-5554 shell

  1. 也就是如上所示,给命令加上-s的参数就可以了!
  2. 如果实际上只有一个设备或模拟器,并且查到有offline的状态;那就说明是ADB本身的BUG所导致的,就需要用如下的方法处理下了:

C:\Users\Alexander>adb kill-server
C:\Users\Alexander>taskkill /f /im adb.exe

给TA送杯爱心咖啡☕️
共{{data.count}}人
人已送杯爱心咖啡☕️
分享推荐实用教程

旧版会员解锁/下架软件下载

2025-5-9 23:54:06

冷知识分享推荐

AI RSS:一个通过 AI 将网页内容转换为 RSS 订阅源的工具

2025-5-10 0:00:47

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
购物车
优惠劵
今日签到
有新私信 私信列表
搜索