Logcat not working on command prompt. It only works in eclipse IDE
Question
So I can see Logcat working with no problems in my eclipse IDE. However, when I try to run it in a command prompt, i get a bunch of logcat data for about a second, and then the whole thing freezes.
Any ideas on how to fix this?
Thanks
Solution
I managed to fix it.
I had two adb.exe files. One of them was in my WINDOWS directory, and the other was in my SDK tools directory. The eclipse IDE was using the version in my SDK tools directory. When I would use a command prompt to start adb, it would use the version in my WINDOWS directory. I deleted that version, and everything is working great now.
Thanks.
OTHER TIPS
That looks sort of how logcat works.
- First you see a backlog or history of the messages.
- Then it hangs, but only until some new event is received.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow