1. -s 指定Unity应用
adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG
2.如果出现error: more than one device/emulator,需要adb -s deviceName指定设备,如果是无线设备,则adb connect ip
adb devices //获取设备MyAndroid
adb -s MyAndroid logcat -s Unity
3. -f 输出log到指定文件
adb -s deviceName logcat -s Unity -f c:\unity_log.txt