My new Android 4.0 device seems could not output Logcat messages.
I have an Android program that runs OK on an Android 2.2 device and could output Log.i
messages in the Eclipse ADT Logcat window. However, when I run this same program in my new Android 4.0 device, I could only see messages with dalvikvm
and OSFileSystem
tag in the Eclipse ADT Logcat window, the Log.i
messages from the program are missing.
I have followed this thread Why doesn't logcat show anything in my Android? and tried to change the file /sys/kernel/logger/log_main/enable
in my Android 4.0 device. But I find that my Android 4.0 device has only the directory up to /sys/kernel
. The files under /sys/kernel
are :
-r--r--r-- root root 4096 2012-05-03 13:17 uevent_seqnum
-rw-r--r-- root root 4096 2012-05-03 13:17 uevent_helper
-rw-r--r-- root root 4096 2012-05-03 13:17 profiling
drwxr-xr-x root root 2012-05-03 13:17 ipv4
drwxr-xr-x root root 2012-05-03 13:17 mm
I think the rom settings in my new Android 4.0 device may have blocked the Log.i
messages from my program. Does anyone know how to turn on the Log.i
messages for my device.
My Android 4.0 device is not rooted.
Thanks for any suggestion.