My new Android 4.0 device does not seem to be able to output Logcat messages.
I have an Android program that runs fine on an Android 2.2 device and can display Log.imessages in the Eclipse ADT Logcat window. However, when I run the same program on my new Android 4.0 device, I could only see tagged messages dalvikvmand OSFileSystemin the Eclipse ADT Logcat window, there were no messages Log.ifrom the program.
I followed this thread. Why is nothing displayed on my Android phone? and tried to modify the file /sys/kernel/logger/log_main/enableon my Android 4.0 device. But I believe that my Android 4.0 device only has a directory up to /sys/kernel. Files under /sys/kernel:
-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 on my new Android 4.0 device may have blocked messages Log.ifrom my program. Does anyone know how to enable messages Log.ifor my device.
My Android 4.0 device is not implemented.
Thanks for any suggestion.
source
share