Android Studio 未显示带有 Flutter 的 Logcat [英] Android Studio not showing Logcat with Flutter

查看:54
本文介绍了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 月更新: Cuong 的回答在 Android Studio 3.6+ 上效果更好

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天全站免登陆