Android Studio not showing Logcat with Flutter
I'm using Android Studio for Flutter App Development. Everything seems to be working fine just that the Android Studio does not show the "logs" in Logcat. In the Logcat section, it says "Please Configure Android SDK". Which is already configured. And in the Logcat section says "No Connected Devices." in the drop-down menu. When it has recognized my Android Phone and is showing it just under the Menu bar.
Is there a fix for it? Is there something I am missing?
Solution 1:
Try the following:
-
Event Log
(a tab at the bottom right) -
scroll to
Android framework is detected
- click Configure
The Logcat
tab should appear now. Moreover, the Device File Explorer
tab should show up on the right panel.
Solution 2:
I just solved this, the flutter project was missing an Android module. Go to 'File -> Project Structure -> Modules'. Click on the '+' sign at the top to add a module. Select Android.
Solution 3:
Update April 2020: Cuong's answer works better with Android Studio 3.6+
Previous answer:
Flutter use Run tab to display logs in Android Studio. Switch from Logcat to Run and then you will see logs.