Unable to determine bundled Java version - flutter

I recently updated my android studio to Arctic fox(2020.3.1) and got the following problem when running "flutter doctor".
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.22000.160], locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[✓] Chrome - develop for the web
[!] Android Studio (version 4.0)
✗ Unable to determine bundled Java version.
[✓] IntelliJ IDEA Community Edition (version 2020.1)
[✓] VS Code (version 1.59.1)
[✓] Connected device (2 available)
I have referred to several previous posts but none of them fix my issue.
Thank you in advance!!

Related

verifying "dyld_sim_shared_cache_arm64" when debugging flutter app in macOS

Today when I start debugging the flutter(2.10.3) app, the macOS Monerey 12.3 shows info like this:
verifying "dyld_sim_shared_cache_arm64"
and the verify popup window could not complete for hours. It look like this:
why show this window? what should I do to fix it? This is the flutter env:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.3.1 21E258 darwin-arm, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] Android Studio (version 2021.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
[✓] IntelliJ IDEA Community Edition (version 2021.3.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
[✓] VS Code (version 1.66.0)
[✓] Connected device (3 available)
[!] HTTP Host Availability
update_dyld_shared_cache is depreciate on macOS Monterey (my case 12.3.1). It makes flutter (2.10.4) cannot update. Let wait for new version of flutter to not request update.

How to record voice on flutter desktop platform?

I want to record voice on flutter desktop platform.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.19042.1526], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.5)
[√] Android Studio (version 2020.3)
[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
[√] Connected device (4 available)
Have you tried with the available flutter packages? If not, then try with flutter_desktop_audio_recorder or record. Both of them supports Windows.
Please follow the readme section for implementation details.

Flutter flutter_background_service app resuming issue

I am using the flutter package flutter_background_service
https://pub.dev/packages/flutter_background_service/example
when the app is resuming, I have this infinite message
Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: plugins.flutter.io/sensors/accelerometer. Response ID XXXX
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.2, on Microsoft Windows [version 10.0.19042.1526], locale fr-CD)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.9.4)
[✓] Android Studio (version 2020.3)
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.64.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
You can see this post and this issue.
But unfortunately it's not fixed yet. Maybe this is a bug.

Flutter Project does not start

When I want to start my project the following message appears
Launching lib\main.dart on Chrome in debug mode...
Then Google Chrome starts but it doesn't show anything except a white screen.
I have already reinstalled flutter, Dart SDK and VS Code.
Flutter Doctor:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19041.1052], locale de-DE)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Community Edition (version 2020.2)
[√] VS Code (version 1.57.1)
[√] Connected device (2 available)

Failed to launch DevTools: TimeoutException after 0:00:10.000000: Future not completed

The flutter tools aren't launching when I press the button on Android Studio, and I also get a warning when I use flutter run.
I've tried flutter clean, but this still happens on both the terminal and Android Studio flutter plugin.
flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.2, on macOS 11.2.3 20D91 darwin-x64, locale
en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] Android Studio
[✓] VS Code (version 1.54.3)
[✓] Connected device (2 available)
• No issues found!
Does anyone have suggestions on how to fix this?
Rebooting my computer fixed it.