Android Studio not showing Logcat with Flutter

前端 未结 17 2414
长情又很酷
长情又很酷 2020-12-01 17:41

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

相关标签:
17条回答
  • 2020-12-01 18:16

    When i face this problem I just go to File and open my existing native android project and then close it. This solution also works when abd Wifi pludings does show warning like => adb not found.

    0 讨论(0)
  • 2020-12-01 18:17

    Just open another NATIVE project for Android Studio in other window and the logcat will work, do it while Flutter project is open. That was the solution for me

    0 讨论(0)
  • 2020-12-01 18:20

    Just use command 'flutter logs', then you can see all logs which are printed by 'print' or 'debugPrint' function.

    0 讨论(0)
  • 2020-12-01 18:20

    when you open flutter project, IDE prompts you to configure android project. Just click on the recommendation and it will start showing logcat window.

    0 讨论(0)
  • 2020-12-01 18:20

    In my case, I also had an error in the Device File Explorer: Error initializing ADB: Android Debug Bridge no found. I fixed the problem following Error initializing ADB: Debug Bridge not found: I selected the latest Android API Platform as Project SDK in File/Project Structure.

    0 讨论(0)
  • 2020-12-01 18:21

    I guess it's an ADB issue. You can restart AS (or maybe even your Computer) or what i usually do is open the terminal an then: adb kill-server && adb start-server (I think the second part adb start-server is not necessary because it seems that AS handles it automatically) - anyways this is how LogCat and Android (and Flutter) work for me every time.

    0 讨论(0)
提交回复
热议问题