当我连着手机充电的时候,启动模拟器调试,执行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…
当我连着手机充电的时候,启动模拟器调试,执行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…
好吧,我是用的phonegap3.0开发的,很简单,安装的时候一句phonegap run android –device就可以了(-device参数非必要,我是为了不跑模拟器,加上此参数限制只跑到设备上) 平时一切正常,今天却报了个错误,大致是用build.xml编译的时候失败,原因是:Failed to execute android command 'adb devices'.此时还没有上网查,我想,既然phonegap失败了,还报的adb错误,那我自己安装一次吧,于是到apk目录 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…
Delphi里做了魔法变化,每个变量名称本身就是指针,因为不怎么需要指针语法.我也不知道是不是因为这个原因引起的Delphi与VC对句柄的不同处理. 这是Delphi的强行关机函数,好用,调用方式:WindowsExit(EWX_POWEROFF or EWX_FORCE) function WindowsExit(RebootParam: Longword): Boolean; var TTokenHd: THandle; TTokenPvg: TTokenPrivileges; cbtpPr…
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的进程!如果第一条没有用,…
Ubuntu使用adb连接android手机失败unknown的解决的方法   Ubuntu下通过USB数据线连接G11手机后,adb可能无法识别到设备.依照一下步骤能够解决此问题. 1.在terminal以下输入 lsusb hulk@hulkdesk:~$ lsusb Bus 001 Device 002: ID 8087:8008 Intel Corp.  Bus 002 Device 002: ID 8087:8000 Intel Corp.  Bus 003 Device 048: I…