Logcat not working on command prompt. It only works in eclipse IDE
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 ide开发者_JAVA技巧as on how to fix this?
Thanks
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.
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.
精彩评论