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!
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.
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.
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.
You can try restarting the adb server as root.
sudo adb kill-server && sudo adb start-server
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With