Search code examples
androiddebuggingemulationadbmode

Very frustrated about android debugging mode and reading output in logcat


this is my first time asking a question on stackoverflow. I'm working on a small app on android just for fun over the school break. My app is working fine and displays logcat just fine when I am running it on emulator. But when everytime I try to run the app on my phone through debugging bridge, logcat never displays at all. I've tried every methods that I was able to find on google including:

  1. going into ddms and selecting my device
  2. using adb logcat -d foo:D *:S which only displays --------- beginning of /dev/log/system --------- beginning of /dev/log/main
  3. etc

I remember it was working fine quite a while ago but since i have changed to my brand new computer it just don't work anymore. Please help :( im stuck here for like 3 hours now

thank you guys =)


Solution

  • I've just solved the issue by using Log.e instead of other log levels. This took me so long time to figure it out, i've reinstalled my eclipse and adb but it didn't help at all. I don't know if this is just for me but i hope this helps for some of you who are having same trouble as me

    use Log.e !!