Android Logcat is empty when debug with device in android studio

后端 未结 11 1441
轻奢々
轻奢々 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:37

    In Android Studio 2.x I used to have to restart to get it working but often switching back and forth between the applications works or running

    adb kill-server; 
    adb start-server;
    

    to restart adb fixes many things as well.

提交回复
热议问题