本帖最后由 ameyume 于 2011-07-29 09:48:04 编辑

解决方案 »

  1.   

    另外,log中的pid,tid等怎么分析?
    例如下面这句log。红色字体的173和pid 233有什么关系吗?
    I/ActivityManager(  173): Starting: Intent { act=2 flg=0x10000000 cmp=com.android.systemui/.usb.UsbStorageActivity } from pid 233
      

  2.   

    The Android logging system keeps multiple circular buffers for log messages, and not all of the log messages are sent to the default circular buffer. To see additional log messages, you can run the logcat command with the -b option, to request viewing of an alternate circular buffer. You can view any of these alternate buffers:  radio — View the buffer that contains radio/telephony related messages.
      events — View the buffer containing events-related messages.
      main — View the main log buffer (default)The usage of the -b option is:[adb] logcat [-b <buffer>]Here's an example of how to view a log buffer containing radio and telephony messages:adb logcat -b radio