Android Studio不显示Flutter的Logcat [英] Android Studio not showing Logcat with Flutter

查看:1725
本文介绍了Android Studio不显示Flutter的Logcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Android Studio进行 Flutter 应用开发.似乎一切正常,只是Android Studio不在Logcat中显示日志".在Logcat部分中,显示请配置Android SDK".已配置.并在Logcat部分中说没有连接的设备".在下拉菜单中.当它识别出我的Android手机并在菜单栏正下方显示它时.

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?

推荐答案

2020年4月更新:

Update April 2020: Cuong's answer works better with Android Studio 3.6+

上一个答案:

Flutter (运行),使用运行"标签在Android Studio中显示日志.从Logcat切换到Run,然后您将看到日志.

Flutter use Run tab to display logs in Android Studio. Switch from Logcat to Run and then you will see logs.

这篇关于Android Studio不显示Flutter的Logcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆