Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Logcat doesn't show anything in Intellij IDEA

Logcat output is emtpy in Intellij IDEA - what to do? An application is running (live wallpaper), log level is Verbose, device is chosen correctly, ADB and USB debugging are enabled.

like image 424
Vladiator Avatar asked Oct 12 '12 17:10

Vladiator


Video Answer


3 Answers

Pressing the following button always fixes it for me.

enter image description here

like image 154
Nima G Avatar answered Oct 27 '22 20:10

Nima G


I often see this problem with eclipse IDE, restart IDE (or ADB by command line) is my solution.

to restart ADB:

sudo adb kill-server sudo adb start-server

like image 25
Phu Tang Avatar answered Oct 27 '22 19:10

Phu Tang


It seems that adb sometimes gets disconnected from Intellij. You could restart the server or Intellij, but it's easier to just go to:

Tools -> Android

and then turn "Enable ADB Integration" off and then back on.

like image 29
David Ljung Madison Stellar Avatar answered Oct 27 '22 19:10

David Ljung Madison Stellar