author : chi.lei@spreadtrum.com
--------------------------------------------------
通常遇到这种问题是由于您的PC上连接了手机数加上PC上运行的模拟器数的和大于1所致。
解决办法是:
先运行adb devices 罗列出所有device
然后在adb 命令后加-s 再加其他的操作.
比如运行adb shell logcat -s leichi.
打印TAG = "leichi"的log
那么在more than one device and emulator情况下可以这样:
pps/SRT$ adb devices
List of devices attached
emulator-5554 device
19761202 device
现在我要19761202设备的log则:
adb -s 19761202 shell logcat -s leichi
其他命令以此类推。adb -s 设备名 具体操作