Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: Run tab does not display flutter logs - Ubuntu 18.10

Android Studio: 3.3 OS: Ubuntu 18.10

Run tab does not display any logs when main.dart is run.

Although logs get displayed when a test is run.

Blank Run Tab

I've tried checking and unchecking the 'Replace the Run and Debug console output with an experimental Flutter Logging view ' option under Settings > Languages & Frameworks > Flutter > Experiments with no success.

like image 561
Michael Hathi Avatar asked Jan 23 '19 06:01

Michael Hathi


People also ask

How to show run tab in Android Studio?

Alt + 4 . This worked for me, the accepted answer only reveals the required view not all of them.

How do you use flutter logs?

Flutter logs can work with Logstash by writing JSON delimited logs to log files. The format is based on ELK schema. You can also send logs in real-time to server using MQTT. MQTT configuration can be applied on Logstash to receive & view logs on kibana dashboard.


1 Answers

Although I use macOS, following operation solved the same problem:

rm ~/Library/Preferences/AndroidStudio3.3/options/runner.layout.xml and then, reboot the Android Studio.

I hope this will be helpful:)

Cheers,

1.Before

2.Change directory

3.delete runner.layout.xml

4.Yay!

like image 62
Rascal Avatar answered Sep 27 '22 19:09

Rascal