Android logcat “application” column is always empty

后端 未结 7 1781
粉色の甜心
粉色の甜心 2021-02-04 00:32

Android logcat \"application\" column is always empty. I have latest version of android tools.

\"enter

7条回答
  •  南方客
    南方客 (楼主)
    2021-02-04 00:38

    I ran into this problem today. What worked for me was to connect to the emulator (if you have an Intel CPU with virtualization capabilities, run the Intel emulator image with virtualization--it is much faster), launch the app on the emulator and see if the application field comes back to logcat by logging with your app.

    For me when connected to the emulator started showing the Application column after trying a few log actions that wrote to the log. After that I connected back to my actual device (Nexus 7), launched the app again from Eclipse, and set DDMS back to the application running on the Nexus 7, and the Application column magically appeared again.

    Prior to this I tried various devices (Nexus 4) and restarting Eclipse/adb but nothing worked until I connected to the emulator.

提交回复
热议问题