adb shell error: more than one device and emulator 本文转载出处: http://blog.sina.com.cn/s/blog_7ffb8dd50100wvrb.html 指定所连接的设备 1.获取设备列表 adb devices 2.指定device来执行adb shell adb -s devicename shell 重新启动服务 1.重启adb.exe服务 adb start-server 2.关闭adb.exe 如果重启没有用,就尝试…
error: more than one device and emulator 如果出现上面那种情况 请关闭  ide 输入下面的  再次重新启动 模拟器 如果实际上只有一个设备或模拟器,并且查到有offline的状态:那就说明是ADB本身的BUG所导致的,就需要用如下的方法处理下了:C:\Users\gaojs>adb kill-serverC:\Users\gaojs>taskkill /f /im adb.exe第一条命令是杀ADB的服务,第二条命令是杀ADB的进程!如果第一条没有用,…
第一种情况:确实用多个设备或者模拟器 解决办法:(指定连接某一个设备或者模拟器) 1.获取模拟器/设备列表   adb devices 2.指定device来执行adb shell   adb -s devicename shell 例如:   adb -s emulator-5554 shell 在多device的时候,执行adb命令一般都需要用参数-s指定device.例如卸载emulator-5554上的包com.soft.camera adb -s emulator-5554 unins…
Ubuntu 15中在使用中Android开发板时,命令行下输入adb devices.adb shell会提示insufficient permissions for device. 通常重启下adb server可以修复类似问题. 首先强制结束server, adb kill-server 之后使用root权限重启server sudo adb start-server 输出如下就可以了: * daemon not running. starting it now on port 5037…
当我连着手机充电的时候,启动模拟器调试,执行ADB指令时,报错.C:\Users\gaojs>adb shellerror: more than one device and emulatorC:\Users\gaojs>adb install e:\good.apkerror: more than one device and emulator 碰到这种情况,首先要查一下,是不是真的有多个设备或模拟器.C:\Users\gaojs>adb devicesList of devices…
启动模拟器调试,执行ADB指令时,报错.C:\Users\gaojs>adb shellerror: more than one device and emulatorC:\Users\gaojs>adb install e:\good.apkerror: more than one device and emulator 碰到这种情况,首先要查一下,是不是真的有多个设备或模拟器.C:\Users\gaojs>adb devicesList of devices attachedemul…
当我连着手机充电的时候,启动模拟器调试,执行ADB指令时,报错.C:\Users\gaojs>adb shellerror: more than one device and emulatorC:\Users\gaojs>adb install e:\good.apkerror: more than one device and emulator 碰到这种情况,首先要查一下,是不是真的有多个设备或模拟器.C:\Users\gaojs>adb devicesList of devices…
当我连着手机充电的时候,启动模拟器调试,运行ADB指令时,报错. C:\Users\gaojs>adb shell error: more than one device and emulator C:\Users\gaojs>adb install e:\good.apk error: more than one device and emulator 碰到这样的情况.首先要查一下,是不是真的有多个设备或模拟器. C:\Users\gaojs>adb devices List of d…
在cmd中输入adb shell进入linux shell环境前,需要把android模拟器打开(本文都是针对模拟器而言,并非真机).如果启动好了模拟器,且输入adb shell命令后出现error: device not found错误提示,则可以杀掉adb进程然后重新启动该进程,在cmd中输入如下命令: adb kill-server adb start-server 注意:这里着重注意,要想adb shell命令执行成功,必须要同时打开android模拟器. 这是执行成功后,以root权限…
今天在linux下连接平板usb,试用adb shell时出现error: insufficient permissions for device, 而且我们输入adb devices显示: xxnan@xxnan-pt:~$ adb devices List of devices attached ????????????    device 那么我们怎么解决它呢? 首先在终端查看usb的ID,输入lsusb命令,我们可以看到我们刚插如usb的ID号,如: xxnan@xxnan-pt:~$…