Using adb logcat with a real phone (and not the emulator)
问题 when I'm using the Android emulator I can do "adb logcat" to see output messages (log / system.out.println) originated from my code. It also shows the stack trace of exceptions which happen during execution. But, when I'm using a real phone, "adb logcat" does not do / show anything. I also tried "adb -d logcat" which also does not display anything. Is there any way to get it working with the real phone? Thanks. UPDATE: I just tried "adb -s ? logcat" ('?' is the serial number of the device)