Android Logcat is empty when debug with device in android studio

后端 未结 11 1451
轻奢々
轻奢々 2020-12-08 14:21

When I try to debug using android device in android studio Logcat shows nothing. But when I use emulator LogCat shows all the messages. How should view the Logcat messages w

11条回答
  •  佛祖请我去吃肉
    2020-12-08 14:51

    I understand that this question is over 2 years old, but from my searches a few people are still having a persistent problem with this. One possible solution to this (which worked for me after two hours!) is that your phone settings may have its "Log Switch" set to off, hence it isn't sending your log data to the IDE.

    Here is the solution - "Unable to open log device '/dev/log/main': No such file or directory"

    Hope it helps!

提交回复
热议问题