Reputation: 963
I use android studio 0.4.2 and logcat
does not work (its just empty). USB debugging is enabled, filters are disabled and log level is verbose. Any ideas?
Upvotes: 18
Views: 26064
Reputation: 1377
Clear the log before launch
App -> EditConfigurations -> Miscellaneous -> Clear log before launch
Upvotes: 0
Reputation: 491
In case you make it down here, @Maarten's comment above worked for me. Close Android Studio then adb devices
at Ubuntu terminal:
ewan@xxxx:~/AndroidStudioProjects/projectx$ adb devices
List of devices attached
adb server version (41) doesn't match this client (39); killing...
* daemon started successfully
FA7Bxxxxxx2 device
Restarted Android Studio and logcat window worked again.
UPDATE: d'oh I found that I was inadvertently using version 39 from the terminal window whereas Android Studio was using 41
Upvotes: 0
Reputation: 3713
In my case, I had two Android phones plugged in for debugging. Switching phones, using the drop down box, didn't do a thing, so I:
-unplugged both
-restarted Android Studio (and the project)
-plugged in the (one) device for which I wanted to see the logs
That did it for me. Logs were back ... now just to fix the code.
Upvotes: 0
Reputation: 10057
On your android monitor:
If not work clear Android studio caches. File->invalidate caches/restart
When apply all way but still not working then use Android device monitor. Tools -> Android -> Android device monitor.
Upvotes: 2
Reputation: 469
To add to this thread of solutions,
Upvotes: 0
Reputation: 107
I had the same problem and solved it in the device developer options by disabling and enabling Usb debugging.
Upvotes: 0
Reputation: 3089
I tried everything. I unintentionally found that empty tags never show. If you are using empty tags, like me, try filling with some letter (blank spaces didn't work for me).
Upvotes: 2
Reputation: 4541
Old question, but the issue seems to occur frequently while running Android Studio 1.1.0. This often happens after I clear all existing log.
When it does, I tap the restart icon (green curved arrow on top of a grey square) and it start working again.
Upvotes: 0
Reputation: 147
In my case, it usually takes 20 or more seconds for my logcat to display anything. After it does, I see "debugger waiting to settle" messages. This happens every single time.
Try waiting a while to see if it ends up showing up.
Upvotes: 0
Reputation: 1874
Click on the "Debug App" Icon next to the "Run App" Icon or press SHIFT + F9. That seems to do the trick for me.
Upvotes: 6
Reputation: 181
In logcat, try going to the bottom right corner where there is a ">>" and select that. It restarts it.
Upvotes: 18
Reputation: 541
Go to "Window -> Preferences"
From the left panel, expand "Android" and select "Logcat". Check if "Show logcat view if message priority is atleast:" is equal to "VERBOSE". If needed, select "VERBOSE" and apply. Now you can see your device events in LogCat.
Upvotes: 0
Reputation: 3318
Try going to developer settings on the phone, and scrolling to the "Monitoring" then "Enable OpenGL Traces" and select LogCat.
Upvotes: 2