当前位置:   article > 正文

执行adb指令报错:error: more than one device/emulator解决办法_adb.exe: more than one device/emulator

adb.exe: more than one device/emulator

执行adb指令报错:error: more than one device/emulator解决办法

进行安卓设备的测试过程中,执行adb指令可能会遇到一些小错误,若是报错:error: more than one device/emulator,是因为我们有多个设备连接了电脑,解决办法很简单,只需要我们指定执行设备就可以了,连接安卓设备后进入终端输入:

adb -s 设备序列号 shell ps 21190
  • 1

设备序列号要是不清楚,可以输入:

adb devices
  • 1

进行获取,devices前面的就是设备序列号,例如xxxxxx devices;

在进行adb调试过程中,若是有其他问题,我们也可以尝试重启adb服务:

adb kill-server
adb start-srever
  • 1
  • 2

或者升级更新adb版本:

sudo apt-get install android-tools-adb
  • 1

重启安卓机:

adb reboot
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/247692
推荐阅读
相关标签
  

闽ICP备14008679号