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的进程!如果第一条没有用,
原文地址:http://blog.csdn.net/fulinwsuafcie/article/details/8092459 adb shell am 的功能 adb shell am 使用此命令可以从cmd控制台启动 activity, services:发送 broadcast等等: C:\Users\Administrator>adb shell am usage: am [subcommand] [options] start an Activity: am start [-D]