Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio -- Logcat showing "no connected devices" and "no debuggable applications"

I'm using Android Studio and logcat shows no output; it just says "no connected devices" and "no debuggable applications" (see picture below).

I know that this sounds like a duplicate, but I've tried answers from other questions (e.g. Android Studio - no debuggable applications) and it didn't help: I enabled ADB Integration, set the debuggable flag in the gradle file, closed Eclipse and restarted both Android Studio and my computer a few times.

Thank you!

enter image description here

like image 537
good_morning Avatar asked Jul 28 '15 21:07

good_morning


People also ask

Why is my Logcat not showing anything in Android?

Solution 1: Restarting your Android StudioIn your IDE Go to File > Invalidate Caches and Restart > Invalidate and Restart. This Solution will clear all the caches of Android studio IDE and restart it automatically, By the method, there are 80% change that Logcat will start work as before.

Why is my Logcat empty Android Studio?

Go to the File option > click on “INVALIDATE CACHES/RESTART” then a dialog box will pop up, Select the “INVALIDATE CACHES/RESTART” button. This will automatically restart and build the index of android studio.

What is the use of Logcat in Android?

Logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that you have written from your app with the Log class. This page is about the command-line logcat tool, but you can also view log messages from the Logcat window in Android Studio.


1 Answers

You can try restarting the adb server as root.

sudo adb kill-server && sudo adb start-server

like image 145
StephenG Avatar answered Sep 27 '22 18:09

StephenG