Repository: flutter
Issue: IntelliJ is not recognized as IDE (cannot set Java version for Android) [macos]
Labels: platform-android,tool,team-tool

### Steps to reproduce

1. **Uninstall** every instance of `Android Studio`
1. Install `IntelliJ` or `IntelliJ CE`
1. Make sure you haven't set the Java JDK manually `flutter config --jdk-dir ""`
1. Install a JAVA SDK **incompatible** with the Flutter project (here Java 22, with Flutter 3.22.x), which is accessible globally via JAVA_HOME (or specify non at all should also work).
1. Open a Flutter project (here I used `flutter create intellij_example`)
1. Open the `Project settings` in IntelliJ and set the Java JDK to a compatible version (e.g. jbr-17)
1. On the run configuration add the `Additional run args`: `-v`
1. Try to run the project on Android Emulator within IntelliJ (not in the console). Then the selected Java SDK should be used, but it isn't, so the project cannot be built
1. **Workaround**: run `flutter config --jdk-dir=/Users/[username]/Library/Java/JavaVirtualMachines/jbr-17.0.11/Contents/Home` -> Now the app can be build.

The validator is working fine (e.g. for flutter doctor), but it fails using intellijs settings in flutter, such as selecting the JAVA SDK in the IntelliJs `Project settings`, in contrast to Android Studio.

This is due to the fact that IntelliJ is not considered as "AndroidStudio" and therefore is not taken into account, when selecting a JAVA SDK.

https://github.com/flutter/flutter/blob/4a6fbef83f9bef2d227844e5f1255c4d18fb00ea/packages/flutter_tools/lib/src/android/android_studio.dart#L279

vs

https://github.com/flutter/flutter/blob/4a6fbef83f9bef2d227844e5f1255c4d18fb00ea/packages/flutter_tools/lib/src/intellij/intellij_validator.dart#L51

But in this function latestValid, all Studio versions should be considered:
https://github.com/flutter/flutter/blob/4a6fbef83f9bef2d227844e5f1255c4d18fb00ea/packages/flutter_tools/lib/src/android/android_studio.dart#L238


As e.g. here it checks, that no Android Studio is installed and won't do any migration:
https://github.com/flutter/flutter/blob/4a6fbef83f9bef2d227844e5f1255c4d18fb00ea/packages/flutter_tools/lib/src/android/migrations/android_studio_java_gradle_conflict_migration.dart#L94

Although IntelliJ is capable of doing this and also support selecting a JAVA SDK

### Expected results

To be able to select a JAVA SDK in the Project settings in IntelliJ

### Actual results

The selected JAVA SDK has no influcence on the used SDK of Flutter, therefore the app doesn't build.
So when trying to run a Flutter project within the IntelliJ IDE, and add the flag `-v` to the run configuration, I get this log message:
`Android Studio version could not be detected, skipping Gradle-Java version compatibility check.`
Edit: I get this log message only on projcets which need migrating. But still projects don't use the proper Java SDK version of the IDE and therefore cannot be build, so I get: `Your project's Gradle version is incompatible with the Java version that Flutter is using for Gradle.`

### Code sample

<details open><summary>Code sample</summary>

I propose to create a class `IntelliJ` to be a base for AndroidStudio, as basically it is IntelliJ. Then every reference to Android Studio could be replaced with IntelliJ and then the functionality could be applied to it.

```dart
class IntelliJ {} // in intellij.dart

class AndroidStudio extends IntelliJ {} // in android_studio.dart
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

Also tried setting the config:
`flutter config --android-studio-dir="/Applications/IntelliJ IDEA.app"` with no success.

But
`flutter config --jdk-dir=/Users/[username]/Library/Java/JavaVirtualMachines/jbr-17.0.11/Contents/Home` 
did work!
<details open><summary>Logs</summary>

```console
[   +2 ms] Could not interpret results of "git describe": 3.22.4-0.0.pre.1
[  +18 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[  +21 ms] executing: sysctl hw.optional.arm64
[   +2 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[  +39 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[        ] Xcode 15.4
           Build version 15F31d
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 5
[   +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +27 ms] executing: /Users/swi-oberhauser/Library/Android/sdk/platform-tools/adb devices -l
[        ] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2
[        ] /usr/bin/arch -arm64e xcrun simctl list devices booted iOS --json
[        ] executing: /usr/bin/arch -arm64e xcrun simctl list devices booted iOS --json
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun simctl list devices booted
[ +199 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun simctl list devices booted
[        ] == Devices ==
           -- iOS 17.5 --
[  +31 ms] List of devices attached
           emulator-5554          device product:sdk_gphone64_arm64 model:sdk_gphone64_arm64 device:emu64a transport_id:4
[   +3 ms] /Users/swi-oberhauser/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +34 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +27 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2
[        ] /usr/bin/arch -arm64e xcrun simctl list devices booted iOS --json
[        ] executing: /usr/bin/arch -arm64e xcrun simctl list devices booted iOS --json
[  +36 ms] Skipping pub get: version match.
[   +9 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.iOS-17-5" : [

               ]
             }
           }
[  +87 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.iOS-17-5" : [

               ]
             }
           }
[  +27 ms] Generating /Users/swi-oberhauser/Documents/git/playground/intellij_example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +18 ms] ro.hardware = ranchu
[  +57 ms] executing: /usr/bin/plutil -convert xml1 -o - /Applications/IntelliJ IDEA.app/Contents/Info.plist
[   +9 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Applications/IntelliJ IDEA.app/Contents/Info.plist
[        ] <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           <plist version="1.0">
           <dict>
           	<key>CFBundleDevelopmentRegion</key>
           	<string>English</string>
           	<key>CFBundleDocumentTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>ipr</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeName</key>
           			<string>IntelliJ IDEA Project File</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>java</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>groovy</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>kt</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>kts</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>jfr</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>hprof</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>*</string>
           			</array>
           			<key>CFBundleTypeName</key>
           			<string>All documents</string>
           			<key>CFBundleTypeOSTypes</key>
           			<array>
           				<string>****</string>
           			</array>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>LSTypeIsPackage</key>
           			<false/>
           		</dict>
           	</array>
           	<key>CFBundleExecutable</key>
           	<string>idea</string>
           	<key>CFBundleGetInfoString</key>
           	<string>IntelliJ IDEA 2024.2.0.2, build IU-242.20224.419. Copyright JetBrains s.r.o., (c) 2000-2024</string>
           	<key>CFBundleIconFile</key>
           	<string>idea.icns</string>
           	<key>CFBundleIdentifier</key>
           	<string>com.jetbrains.intellij</string>
           	<key>CFBundleInfoDictionaryVersion</key>
           	<string>6.0</string>
           	<key>CFBundleName</key>
           	<string>IntelliJ IDEA</string>
           	<key>CFBundlePackageType</key>
           	<string>APPL</string>
           	<key>CFBundleShortVersionString</key>
           	<string>2024.2.0.2</string>
           	<key>CFBundleURLTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>CFBundleURLName</key>
           			<string>Stacktrace</string>
           			<key>CFBundleURLSchemes</key>
           			<array>
           				<string>idea</string>
           			</array>
           		</dict>
           	</array>
           	<key>CFBundleVersion</key>
           	<string>IU-242.20224.419</string>
           	<key>LSApplicationCategoryType</key>
           	<string>public.app-category.developer-tools</string>
           	<key>LSArchitecturePriority</key>
           	<array>
           		<string>arm64</string>
           	</array>
           	<key>LSMinimumSystemVersion</key>
           	<string>10.13</string>
           	<key>LSRequiresNativeExecution</key>
           	<string>YES</string>
           	<key>NSAppleEventsUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests the ability to send Apple events.</string>
           	<key>NSBluetoothAlwaysUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to Bluetooth.</string>
           	<key>NSCameraUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the device's camera.</string>
           	<key>NSDesktopFolderUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the user's Desktop folder.</string>
           	<key>NSDocumentsFolderUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the user's Documents folder.</string>
           	<key>NSDownloadsFolderUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the user's Downloads folder.</string>
           	<key>NSHighResolutionCapable</key>
           	<true/>
           	<key>NSLocationUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the user's location information.</string>
           	<key>NSMicrophoneUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the device's microphone.</string>
           	<key>NSNetworkVolumesUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to files on a network volume.</string>
           	<key>NSRemovableVolumesUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to files on a removable volume.</string>
           	<key>NSSupportsAutomaticGraphicsSwitching</key>
           	<true/>
           </dict>
           </plist>
[   +5 ms] executing: /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java -version
[  +58 ms] Exit code 0 from: /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java -version
[        ] openjdk version "21.0.3" 2024-04-16
           OpenJDK Runtime Environment JBR-21.0.3+13-509.4-jcef (build 21.0.3+13-b509.4)
           OpenJDK 64-Bit Server VM JBR-21.0.3+13-509.4-jcef (build 21.0.3+13-b509.4, mixed mode)
[        ] executing: /usr/bin/plutil -convert xml1 -o - /Applications/IntelliJ IDEA CE.app/Contents/Info.plist
[   +5 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Applications/IntelliJ IDEA CE.app/Contents/Info.plist
[        ] <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           <plist version="1.0">
           <dict>
           	<key>CFBundleDevelopmentRegion</key>
           	<string>English</string>
           	<key>CFBundleDocumentTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>ipr</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeName</key>
           			<string>IntelliJ IDEA Project File</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>java</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>groovy</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>kt</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>kts</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>idea.icns</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>*</string>
           			</array>
           			<key>CFBundleTypeName</key>
           			<string>All documents</string>
           			<key>CFBundleTypeOSTypes</key>
           			<array>
           				<string>****</string>
           			</array>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>LSTypeIsPackage</key>
           			<false/>
           		</dict>
           	</array>
           	<key>CFBundleExecutable</key>
           	<string>idea</string>
           	<key>CFBundleGetInfoString</key>
           	<string>IntelliJ IDEA 2024.1.4, build IC-241.18034.62. Copyright JetBrains s.r.o., (c) 2000-2024</string>
           	<key>CFBundleIconFile</key>
           	<string>idea.icns</string>
           	<key>CFBundleIdentifier</key>
           	<string>com.jetbrains.intellij.ce</string>
           	<key>CFBundleInfoDictionaryVersion</key>
           	<string>6.0</string>
           	<key>CFBundleName</key>
           	<string>IntelliJ IDEA</string>
           	<key>CFBundlePackageType</key>
           	<string>APPL</string>
           	<key>CFBundleShortVersionString</key>
           	<string>2024.1.4</string>
           	<key>CFBundleURLTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>CFBundleURLName</key>
           			<string>Stacktrace</string>
           			<key>CFBundleURLSchemes</key>
           			<array>
           				<string>idea</string>
           			</array>
           		</dict>
           	</array>
           	<key>CFBundleVersion</key>
           	<string>IC-241.18034.62</string>
           	<key>JVMOptions</key>
           	<dict>
           		<key>ClassPath</key>
           		<string>$APP_PACKAGE/Contents/lib/platform-loader.jar:$APP_PACKAGE/Contents/lib/util-8.jar:$APP_PACKAGE/Contents/lib/util.jar:$APP_PACKAGE/Contents/lib/app-client.jar:$APP_PACKAGE/Contents/lib/util_rt.jar:$APP_PACKAGE/Contents/lib/product.jar:$APP_PACKAGE/Contents/lib/opentelemetry.jar:$APP_PACKAGE/Contents/lib/app.jar:$APP_PACKAGE/Contents/lib/modules.jar:$APP_PACKAGE/Contents/lib/lib-client.jar:$APP_PACKAGE/Contents/lib/stats.jar:$APP_PACKAGE/Contents/lib/jps-model.jar:$APP_PACKAGE/Contents/lib/external-system-rt.jar:$APP_PACKAGE/Contents/lib/rd.jar:$APP_PACKAGE/Contents/lib/bouncy-castle.jar:$APP_PACKAGE/Contents/lib/protobuf.jar:$APP_PACKAGE/Contents/lib/intellij-test-discovery.jar:$APP_PACKAGE/Contents/lib/intellij-coverage-agent-1.0.744.jar:$APP_PACKAGE/Contents/lib/forms_rt.jar:$APP_PACKAGE/Contents/lib/lib.jar:$APP_PACKAGE/Contents/lib/externalProcess-rt.jar:$APP_PACKAGE/Contents/lib/groovy.jar:$APP_PACKAGE/Contents/lib/annotations.jar:$APP_PACKAGE/Contents/lib/grpc.jar:$APP_PACKAGE/Contents/lib/idea_rt.jar:$APP_PACKAGE/Contents/lib/jsch-agent.jar:$APP_PACKAGE/Contents/lib/junit4.jar:$APP_PACKAGE/Contents/lib/trove.jar</string>
           		<key>ErrorFile</key>
           		<string>-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log</string>
           		<key>HeapDump</key>
           		<string>-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof</string>
           		<key>JVMVersion</key>
           		<string>1.8*,1.8+</string>
           		<key>MainClass</key>
           		<string>com/intellij/idea/Main</string>
           		<key>Options</key>
           		<array>
           			<string>--add-opens=java.base/java.io=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.lang=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.lang.ref=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.lang.reflect=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.net=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.nio=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.nio.charset=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.text=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.time=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.util=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.util.concurrent=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/jdk.internal.vm=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/sun.nio.ch=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/sun.nio.fs=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/sun.security.ssl=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/sun.security.util=ALL-UNNAMED</string>
           			<string>--add-opens=java.base/sun.net.dns=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/com.apple.eawt.event=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/com.apple.laf=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/java.awt=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/java.awt.dnd.peer=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/java.awt.event=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/java.awt.image=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/java.awt.peer=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/java.awt.font=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/javax.swing=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/sun.awt.datatransfer=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/sun.awt.image=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/sun.awt=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/sun.font=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/sun.java2d=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/sun.lwawt=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/sun.swing=ALL-UNNAMED</string>
           			<string>--add-opens=java.desktop/com.sun.java.swing=ALL-UNNAMED</string>
           			<string>--add-opens=jdk.attach/sun.tools.attach=ALL-UNNAMED</string>
           			<string>--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</string>
           			<string>--add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED</string>
           			<string>--add-opens=jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED</string>
           		</array>
           		<key>Properties</key>
           		<dict>
           			<key>aether.connector.resumeDownloads</key>
           			<string>false</string>
           			<key>idea.executable</key>
           			<string>idea</string>
           			<key>idea.home.path</key>
           			<string>$APP_PACKAGE/Contents</string>
           			<key>idea.paths.selector</key>
           			<string>IdeaIC2024.1</string>
           			<key>idea.platform.prefix</key>
           			<string>Idea</string>
           			<key>idea.vendor.name</key>
           			<string>JetBrains</string>
           			<key>intellij.platform.runtime.repository.path</key>
           			<string>$APP_PACKAGE/Contents/modules/module-descriptors.jar</string>
           			<key>java.system.class.loader</key>
           			<string>com.intellij.util.lang.PathClassLoader</string>
           			<key>jna.boot.library.path</key>
           			<string>$APP_PACKAGE/Contents/lib/jna/aarch64</string>
           			<key>jna.noclasspath</key>
           			<string>true</string>
           			<key>jna.nosys</key>
           			<string>true</string>
           			<key>pty4j.preferred.native.folder</key>
           			<string>$APP_PACKAGE/Contents/lib/pty4j</string>
           			<key>splash</key>
           			<string>true</string>
           		</dict>
           	</dict>
           	<key>LSApplicationCategoryType</key>
           	<string>public.app-category.developer-tools</string>
           	<key>LSArchitecturePriority</key>
           	<array>
           		<string>arm64</string>
           	</array>
           	<key>LSMinimumSystemVersion</key>
           	<string>10.13</string>
           	<key>LSRequiresNativeExecution</key>
           	<string>YES</string>
           	<key>NSAppleEventsUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests the ability to send Apple events.</string>
           	<key>NSBluetoothAlwaysUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to Bluetooth.</string>
           	<key>NSCameraUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the device's camera.</string>
           	<key>NSDesktopFolderUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the user's Desktop folder.</string>
           	<key>NSDocumentsFolderUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the user's Documents folder.</string>
           	<key>NSDownloadsFolderUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the user's Downloads folder.</string>
           	<key>NSHighResolutionCapable</key>
           	<true/>
           	<key>NSLocationUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the user's location information.</string>
           	<key>NSMicrophoneUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to the device's microphone.</string>
           	<key>NSNetworkVolumesUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to files on a network volume.</string>
           	<key>NSRemovableVolumesUsageDescription</key>
           	<string>An application in IntelliJ IDEA requests access to files on a removable volume.</string>
           	<key>NSSupportsAutomaticGraphicsSwitching</key>
           	<true/>
           </dict>
           </plist>
[   +5 ms] executing: /Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/Home/bin/java -version
[  +64 ms] Exit code 0 from: /Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/Home/bin/java -version
[        ] openjdk version "17.0.11" 2024-04-16
           OpenJDK Runtime Environment JBR-17.0.11+1-1207.24-jcef (build 17.0.11+1-b1207.24)
           OpenJDK 64-Bit Server VM JBR-17.0.11+1-1207.24-jcef (build 17.0.11+1-b1207.24, mixed mode)
[  +25 ms] No packages with native assets. Skipping native assets compilation.
[   +1 ms] Initializing file store
[   +5 ms] Skipping target: gen_localizations
[   +2 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/swi-oberhauser/Documents/git/playground/intellij_example/.dart_tool/package_config_subset}
[  +21 ms] gen_dart_plugin_registrant: Complete
[        ] Skipping target: _composite
[        ] complete
[   +1 ms] Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
[   +1 ms] /opt/homebrew/Caskroom/flutter/3.22.2/flutter/bin/cache/dart-sdk/bin/dartaotruntime --disable-dart-dev /opt/homebrew/Caskroom/flutter/3.22.2/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server_aot.dart.snapshot --sdk-root /opt/homebrew/Caskroom/flutter/3.22.2/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -Dflutter.inspector.structuredErrors=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/235db911ba279722f5e685f38b0ed30fa7e8570a/ --output-dill /var/folders/bf/q7knlxvj1ml6ybf5bst9y5300000gn/T/flutter_tools.4wASYv/flutter_tool.71p6Ja/app.dill --packages /Users/swi-oberhauser/Documents/git/playground/intellij_example/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/4f65a39a55e0d605b7b8e2606861282c.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy
[   +2 ms] executing: /Users/swi-oberhauser/Library/Android/sdk/build-tools/35.0.0/aapt dump xmltree /Users/swi-oberhauser/Documents/git/playground/intellij_example/build/app/outputs/flutter-apk/app-debug.apk AndroidManifest.xml
[  +14 ms] Exit code 0 from: /Users/swi-oberhauser/Library/Android/sdk/build-tools/35.0.0/aapt dump xmltree /Users/swi-oberhauser/Documents/git/playground/intellij_example/build/app/outputs/flutter-apk/app-debug.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x22
               A: android:compileSdkVersionCodename(0x01010573)="14" (Raw: "14")
               A: package="com.example.intellij_example" (Raw: "com.example.intellij_example")
               A: platformBuildVersionCode=(type 0x10)0x22
               A: platformBuildVersionName=(type 0x10)0xe
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x22
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: queries (line=23)
                 E: intent (line=24)
                   E: action (line=25)
                     A: android:name(0x01010003)="android.intent.action.PROCESS_TEXT" (Raw: "android.intent.action.PROCESS_TEXT")
                   E: data (line=27)
                     A: android:mimeType(0x01010026)="text/plain" (Raw: "text/plain")
               E: application (line=31)
                 A: android:label(0x01010001)="intellij_example" (Raw: "intellij_example")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=37)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.intellij_example.MainActivity" (Raw: "com.example.intellij_example.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:taskAffinity(0x01010012)="" (Raw: "")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=53)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=57)
                     E: action (line=58)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=60)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=67)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=71)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=74)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +2 ms] executing: /Users/swi-oberhauser/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[   +3 ms] <- compile package:intellij_example/main.dart
[  +92 ms] --------- beginning of main
           08-26 10:38:00.048 D/EGL_emulation( 1225): app_time_stats: avg=60017.70ms min=60017.70ms max=60017.70ms count=1
[   +4 ms] executing: /Users/swi-oberhauser/Library/Android/sdk/platform-tools/adb version
[  +11 ms] Android Debug Bridge version 1.0.41
           Version 35.0.2-12147458
           Installed as /Users/swi-oberhauser/Library/Android/sdk/platform-tools/adb
           Running on Darwin 23.6.0 (arm64)
[   +1 ms] executing: /Users/swi-oberhauser/Library/Android/sdk/platform-tools/adb start-server
[  +13 ms] Building APK
[   +8 ms] executing: /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java --version
[  +57 ms] Exit code 0 from: /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java --version
[        ] openjdk 21.0.3 2024-04-16
           OpenJDK Runtime Environment JBR-21.0.3+13-509.4-jcef (build 21.0.3+13-b509.4)
           OpenJDK 64-Bit Server VM JBR-21.0.3+13-509.4-jcef (build 21.0.3+13-b509.4, mixed mode)
[   +1 ms] Version of Java is different than impacted version, no migration attempted.
[   +9 ms] Using gradle from /Users/swi-oberhauser/Documents/git/playground/intellij_example/android/gradlew.
Running Gradle task 'assembleDebug'...
[   +9 ms] executing: [/Users/swi-oberhauser/Documents/git/playground/intellij_example/android/] /Users/swi-oberhauser/Documents/git/playground/intellij_example/android/gradlew --full-stacktrace --info -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=/Users/swi-oberhauser/Documents/git/playground/intellij_example/lib/main.dart -Pbase-application-name=android.app.Application -Pdart-defines=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl,RkxVVFRFUl9XRUJfQ0FOVkFTS0lUX1VSTD1odHRwczovL3d3dy5nc3RhdGljLmNvbS9mbHV0dGVyLWNhbnZhc2tpdC8yMzVkYjkxMWJhMjc5NzIyZjVlNjg1ZjM4YjBlZDMwZmE3ZTg1NzBhLw== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +300 ms] Initialized native services in: /Users/swi-oberhauser/.gradle/native
[        ] Initialized jansi services in: /Users/swi-oberhauser/.gradle/native
[ +110 ms] Received JVM installation metadata from '/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home': {JAVA_HOME=/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home, JAVA_VERSION=21.0.3, JAVA_VENDOR=JetBrains s.r.o., RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=21.0.3+13-b509.4, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=21.0.3+13-b509.4, VM_VENDOR=JetBrains s.r.o., OS_ARCH=aarch64}
[        ] Found daemon DaemonInfo{pid=1486, address=[dba279ee-dbb6-43aa-b74a-c3caad133ce7 port:54054, addresses:[/127.0.0.1]], state=Idle, lastBusy=1724660787784, context=DefaultDaemonContext[uid=e97fd443-a1c5-4f76-972c-e8a265ac8ca6,javaHome=/Users/swi-oberhauser/Library/Java/JavaVirtualMachines/jbr-17.0.11/Contents/Home,daemonRegistryDir=/Users/swi-oberhauser/.gradle/daemon,pid=1486,idleTimeout=10800000,priority=NORMAL,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx4G,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} however its context does not match the desired criteria.
[        ] Java home is different.
[        ] Wanted: DefaultDaemonContext[uid=null,javaHome=/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home,daemonRegistryDir=/Users/swi-oberhauser/.gradle/daemon,pid=11369,idleTimeout=null,priority=NORMAL,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx4G,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]
[        ] Actual: DefaultDaemonContext[uid=e97fd443-a1c5-4f76-972c-e8a265ac8ca6,javaHome=/Users/swi-oberhauser/Library/Java/JavaVirtualMachines/jbr-17.0.11/Contents/Home,daemonRegistryDir=/Users/swi-oberhauser/.gradle/daemon,pid=1486,idleTimeout=10800000,priority=NORMAL,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx4G,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]
[        ]   Looking for a different daemon...
[        ] Removing 0 daemon stop events from registry
[        ] Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
[        ] Starting process 'Gradle build daemon'. Working directory: /Users/swi-oberhauser/.gradle/daemon/7.6.3 Command: /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java -XX:+HeapDumpOnOutOfMemoryError --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED -Xmx4G -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /Users/swi-oberhauser/.gradle/wrapper/dists/gradle-7.6.3-all/aocdy2d2z8kodnny3rsumj8i8/gradle-7.6.3/lib/gradle-launcher-7.6.3.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.6.3
[  +94 ms] Successfully started process 'Gradle build daemon'
[ +401 ms] An attempt to start the daemon took 0.479 secs.
[ +101 ms] The client will now receive all logging from the daemon (pid: 11381). The daemon log file: /Users/swi-oberhauser/.gradle/daemon/7.6.3/daemon-11381.out.log
[        ] Starting build in new daemon [memory: 4 GiB]
[        ] Using 12 worker leases.
[ +198 ms] Received JVM installation metadata from '/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home': {JAVA_HOME=/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home, JAVA_VERSION=21.0.3, JAVA_VENDOR=JetBrains s.r.o., RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=21.0.3+13-b509.4, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=21.0.3+13-b509.4, VM_VENDOR=JetBrains s.r.o., OS_ARCH=aarch64}
[ +102 ms] Watching the file system is configured to be enabled if available
[        ] Now considering [/Users/swi-oberhauser/Documents/git/playground/intellij_example/android] as hierarchies to watch
[        ] File system watching is active
[ +295 ms] Starting Build
[ +104 ms] Now considering [/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter_tools/gradle, /Users/swi-oberhauser/Documents/git/playground/intellij_example/android] as hierarchies to watch
[  +13 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad16,6",
               "identifier" : "2CAD479D-4E8F-49C8-ABF0-74BA06CAF91B",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-pro-m4-13-1",
               "modelName" : "iPad Pro 13-inch (M4)",
               "name" : "iPad Pro 13-inch (M4)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone15,5",
               "identifier" : "5B2D5320-3BC2-4A4A-BE17-7A6215BFE629",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-plus-1",
               "modelName" : "iPhone 15 Plus",
               "name" : "iPhone 15 Plus",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,9",
               "identifier" : "FBC69881-2BCA-4240-8976-8469EF46E395",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-air-m2-1",
               "modelName" : "iPad Air 11-inch (M2)",
               "name" : "iPad Air 11-inch (M2)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad16,4",
               "identifier" : "3882AC2B-E288-4652-B814-DB9882F461B9",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-pro-m4-1",
               "modelName" : "iPad Pro 11-inch (M4)",
               "name" : "iPad Pro 11-inch (M4)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone16,1",
               "identifier" : "28234578-AEB9-4605-8302-EA686DE5E0EB",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-pro-1",
               "modelName" : "iPhone 15 Pro",
               "name" : "iPhone 15 Pro",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone15,4",
               "identifier" : "DB884F08-2C3E-4E10-BF6E-42C4C1349598",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-1",
               "modelName" : "iPhone 15",
               "name" : "iPhone 15",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad13,18",
               "identifier" : "BA48F2FE-5B42-4FFD-9FFB-AF360D7F3A00",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-10-1",
               "modelName" : "iPad (10th generation)",
               "name" : "iPad (10th generation)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,11",
               "identifier" : "D0A97352-BDF3-48DD-87EA-93FF4B092383",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-air-m2-13-1",
               "modelName" : "iPad Air 13-inch (M2)",
               "name" : "iPad Air 13-inch (M2)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,1",
               "identifier" : "DD15981C-6CD3-4AF9-8489-8A962F971150",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-mini6-1",
               "modelName" : "iPad mini (6th generation)",
               "name" : "iPad mini (6th generation)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone16,2",
               "identifier" : "9360C75A-52C5-45F6-AEC1-C2B4430905E8",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-pro-max-1",
               "modelName" : "iPhone 15 Pro Max",
               "name" : "iPhone 15 Pro Max",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone14,6",
               "identifier" : "F4732CBA-F1D2-4743-92DF-F36158594867",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-se3-1",
               "modelName" : "iPhone SE (3rd generation)",
               "name" : "iPhone SE (3rd generation)",
               "ignored" : false
             },
             {
               "ignored" : false,
               "modelCode" : "Mac15,7",
               "simulator" : false,
               "modelName" : "MacBook Pro",
               "operatingSystemVersion" : "14.6 (23G5066c)",
               "identifier" : "00006030-0008311802D0001C",
               "platform" : "com.apple.platform.macosx",
               "architecture" : "arm64e",
               "interface" : "usb",
               "available" : true,
               "name" : "My Mac",
               "modelUTI" : "com.apple.macbookpro-16-late-2023-2"
             }
           ]
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun devicectl --version
[  +41 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun devicectl --version
[        ] 355.28
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun devicectl list devices --timeout 5 --json-output /var/folders/bf/q7knlxvj1ml6ybf5bst9y5300000gn/T/flutter_tools.4wASYv/core_devices.Kgqczk/core_device_list.json
[  +40 ms] Skipping Kotlin DSL script compilation (Settings/TopLevel/stage1) as it is up-to-date.
[ +104 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad16,6",
               "identifier" : "2CAD479D-4E8F-49C8-ABF0-74BA06CAF91B",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-pro-m4-13-1",
               "modelName" : "iPad Pro 13-inch (M4)",
               "name" : "iPad Pro 13-inch (M4)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone15,5",
               "identifier" : "5B2D5320-3BC2-4A4A-BE17-7A6215BFE629",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-plus-1",
               "modelName" : "iPhone 15 Plus",
               "name" : "iPhone 15 Plus",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,9",
               "identifier" : "FBC69881-2BCA-4240-8976-8469EF46E395",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-air-m2-1",
               "modelName" : "iPad Air 11-inch (M2)",
               "name" : "iPad Air 11-inch (M2)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad16,4",
               "identifier" : "3882AC2B-E288-4652-B814-DB9882F461B9",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-pro-m4-1",
               "modelName" : "iPad Pro 11-inch (M4)",
               "name" : "iPad Pro 11-inch (M4)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone16,1",
               "identifier" : "28234578-AEB9-4605-8302-EA686DE5E0EB",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-pro-1",
               "modelName" : "iPhone 15 Pro",
               "name" : "iPhone 15 Pro",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone15,4",
               "identifier" : "DB884F08-2C3E-4E10-BF6E-42C4C1349598",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-1",
               "modelName" : "iPhone 15",
               "name" : "iPhone 15",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad13,18",
               "identifier" : "BA48F2FE-5B42-4FFD-9FFB-AF360D7F3A00",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-10-1",
               "modelName" : "iPad (10th generation)",
               "name" : "iPad (10th generation)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,11",
               "identifier" : "D0A97352-BDF3-48DD-87EA-93FF4B092383",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-air-m2-13-1",
               "modelName" : "iPad Air 13-inch (M2)",
               "name" : "iPad Air 13-inch (M2)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,1",
               "identifier" : "DD15981C-6CD3-4AF9-8489-8A962F971150",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-mini6-1",
               "modelName" : "iPad mini (6th generation)",
               "name" : "iPad mini (6th generation)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone16,2",
               "identifier" : "9360C75A-52C5-45F6-AEC1-C2B4430905E8",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-pro-max-1",
               "modelName" : "iPhone 15 Pro Max",
               "name" : "iPhone 15 Pro Max",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone14,6",
               "identifier" : "F4732CBA-F1D2-4743-92DF-F36158594867",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-se3-1",
               "modelName" : "iPhone SE (3rd generation)",
               "name" : "iPhone SE (3rd generation)",
               "ignored" : false
             },
             {
               "ignored" : false,
               "modelCode" : "Mac15,7",
               "simulator" : false,
               "modelName" : "MacBook Pro",
               "operatingSystemVersion" : "14.6 (23G5066c)",
               "identifier" : "00006030-0008311802D0001C",
               "platform" : "com.apple.platform.macosx",
               "architecture" : "arm64e",
               "interface" : "usb",
               "available" : true,
               "name" : "My Mac",
               "modelUTI" : "com.apple.macbookpro-16-late-2023-2"
             }
           ]
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun devicectl list devices --timeout 5 --json-output /var/folders/bf/q7knlxvj1ml6ybf5bst9y5300000gn/T/flutter_tools.4wASYv/core_devices.LhNovX/core_device_list.json
[ +395 ms] > Configure project :gradle
[        ] Evaluating project ':gradle' using build file '/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter_tools/gradle/build.gradle.kts'.
[        ] Caching disabled for Kotlin DSL plugin accessors for classpath 'b1ac9cac8f71b9ff3dcd3e55caac4de4' because:
[        ]   Build cache is disabled
[        ] Skipping Kotlin DSL plugin accessors for classpath 'b1ac9cac8f71b9ff3dcd3e55caac4de4' as it is up-to-date.
[        ] Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage1) because:
[        ]   Build cache is disabled
[        ] Skipping Kotlin DSL script compilation (Project/TopLevel/stage1) as it is up-to-date.
[        ] Caching disabled for Kotlin DSL accessors for project ':gradle' because:
[        ]   Build cache is disabled
[        ] Skipping Kotlin DSL accessors for project ':gradle' as it is up-to-date.
[        ] Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage2) because:
[        ]   Build cache is disabled
[        ] Skipping Kotlin DSL script compilation (Project/TopLevel/stage2) as it is up-to-date.
[ +199 ms] Resolve mutations for :gradle:compileJava (Thread[#64,Execution worker,5,main]) started.
[        ] :gradle:compileJava (Thread[#64,Execution worker,5,main]) started.
[        ] > Task :gradle:compileJava NO-SOURCE
[        ] Skipping task ':gradle:compileJava' as it has no source files and no previous output files.
[        ] Resolve mutations for :gradle:compileGroovy (Thread[#64,Execution worker,5,main]) started.
[        ] :gradle:compileGroovy (Thread[#64,Execution worker,5,main]) started.
[ +308 ms] No devices found.
[        ] {
             "info" : {
               "arguments" : [
                 "devicectl",
                 "list",
                 "devices",
                 "--timeout",
                 "5",
                 "--json-output",
                 "/var/folders/bf/q7knlxvj1ml6ybf5bst9y5300000gn/T/flutter_tools.4wASYv/core_devices.Kgqczk/core_device_list.json"
               ],
               "commandType" : "devicectl.list.devices",
               "environment" : {

               },
               "jsonVersion" : 2,
               "outcome" : "success",
               "version" : "355.28"
             },
             "result" : {
               "devices" : [

               ]
             }
           }

[  +90 ms] This JVM does not support getting OS memory, so no OS memory status updates will be broadcast
[  +53 ms] No devices found.
[        ] {
             "info" : {
               "arguments" : [
                 "devicectl",
                 "list",
                 "devices",
                 "--timeout",
                 "5",
                 "--json-output",
                 "/var/folders/bf/q7knlxvj1ml6ybf5bst9y5300000gn/T/flutter_tools.4wASYv/core_devices.LhNovX/core_device_list.json"
               ],
               "commandType" : "devicectl.list.devices",
               "environment" : {

               },
               "jsonVersion" : 2,
               "outcome" : "success",
               "version" : "355.28"
             },
             "result" : {
               "devices" : [

               ]
             }
           }

[+1546 ms] > Task :gradle:compileGroovy
[        ] Watching 1 directory hierarchies to track changes
[        ] Caching disabled for task ':gradle:compileGroovy' because:
[        ]   Build cache is disabled
[        ] Task ':gradle:compileGroovy' is not up-to-date because:
[        ]   Value of input property 'groovyCompilerJvmVersion' has changed for task ':gradle:compileGroovy'
[        ]   Value of input property 'sourceCompatibility' has changed for task ':gradle:compileGroovy'
[        ]   Value of input property 'targetCompatibility' has changed for task ':gradle:compileGroovy'
[        ] The input changes require a full rebuild for incremental task ':gradle:compileGroovy'.
[        ] Starting process 'Gradle Worker Daemon 1'. Working directory: /Users/swi-oberhauser/.gradle/workers Command: /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED @/Users/swi-oberhauser/.gradle/.tmp/gradle-worker-classpath13210169534591223546txt -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Worker Daemon 1'
[        ] Successfully started process 'Gradle Worker Daemon 1'
[        ] Started Gradle worker daemon (0.238 secs) with fork options DaemonForkOptions{executable=/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java, minHeapSize=null, maxHeapSize=null, jvmArgs=[--add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.lang.invoke=ALL-UNNAMED, --add-opens=java.base/java.util=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED], keepAliveMode=SESSION}.
[ +205 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad16,6",
               "identifier" : "2CAD479D-4E8F-49C8-ABF0-74BA06CAF91B",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-pro-m4-13-1",
               "modelName" : "iPad Pro 13-inch (M4)",
               "name" : "iPad Pro 13-inch (M4)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone15,5",
               "identifier" : "5B2D5320-3BC2-4A4A-BE17-7A6215BFE629",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-plus-1",
               "modelName" : "iPhone 15 Plus",
               "name" : "iPhone 15 Plus",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,9",
               "identifier" : "FBC69881-2BCA-4240-8976-8469EF46E395",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-air-m2-1",
               "modelName" : "iPad Air 11-inch (M2)",
               "name" : "iPad Air 11-inch (M2)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad16,4",
               "identifier" : "3882AC2B-E288-4652-B814-DB9882F461B9",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-pro-m4-1",
               "modelName" : "iPad Pro 11-inch (M4)",
               "name" : "iPad Pro 11-inch (M4)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone16,1",
               "identifier" : "28234578-AEB9-4605-8302-EA686DE5E0EB",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-pro-1",
               "modelName" : "iPhone 15 Pro",
               "name" : "iPhone 15 Pro",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone15,4",
               "identifier" : "DB884F08-2C3E-4E10-BF6E-42C4C1349598",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-1",
               "modelName" : "iPhone 15",
               "name" : "iPhone 15",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad13,18",
               "identifier" : "BA48F2FE-5B42-4FFD-9FFB-AF360D7F3A00",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-10-1",
               "modelName" : "iPad (10th generation)",
               "name" : "iPad (10th generation)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,11",
               "identifier" : "D0A97352-BDF3-48DD-87EA-93FF4B092383",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-air-m2-13-1",
               "modelName" : "iPad Air 13-inch (M2)",
               "name" : "iPad Air 13-inch (M2)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad14,1",
               "identifier" : "DD15981C-6CD3-4AF9-8489-8A962F971150",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.ipad-mini6-1",
               "modelName" : "iPad mini (6th generation)",
               "name" : "iPad mini (6th generation)",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone16,2",
               "identifier" : "9360C75A-52C5-45F6-AEC1-C2B4430905E8",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-15-pro-max-1",
               "modelName" : "iPhone 15 Pro Max",
               "name" : "iPhone 15 Pro Max",
               "ignored" : false
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "17.5 (21F79)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone14,6",
               "identifier" : "F4732CBA-F1D2-4743-92DF-F36158594867",
               "architecture" : "arm64",
               "modelUTI" : "com.apple.iphone-se3-1",
               "modelName" : "iPhone SE (3rd generation)",
               "name" : "iPhone SE (3rd generation)",
               "ignored" : false
             },
             {
               "ignored" : false,
               "modelCode" : "Mac15,7",
               "simulator" : false,
               "modelName" : "MacBook Pro",
               "operatingSystemVersion" : "14.6 (23G5066c)",
               "identifier" : "00006030-0008311802D0001C",
               "platform" : "com.apple.platform.macosx",
               "architecture" : "arm64e",
               "interface" : "usb",
               "available" : true,
               "name" : "My Mac",
               "modelUTI" : "com.apple.macbookpro-16-late-2023-2"
             }
           ]
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun devicectl list devices --timeout 5 --json-output /var/folders/bf/q7knlxvj1ml6ybf5bst9y5300000gn/T/flutter_tools.4wASYv/core_devices.S50wpS/core_device_list.json
[ +589 ms] > Task :gradle:compileGroovy FAILED
[        ] 1 actionable task: 1 executed
[        ] Watched directory hierarchies: [/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter_tools/gradle]
[        ] Stopped 1 worker daemon(s).
[        ] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] Execution failed for task ':gradle:compileGroovy'.
[        ] > BUG! exception in phase 'semantic analysis' in source unit '/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter_tools/gradle/src/main/groovy/app_plugin_loader.groovy' Unsupported class file major version 65
[        ] * Try:
[        ] > Run with --debug option to get more log output.
[        ] > Run with --scan to get full insights.
[        ] * Exception is:
[        ] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':gradle:compileGroovy'.
[        ] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142)
[        ] 	at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
[        ] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:140)
[        ] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)
[        ] 	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
[        ] 	at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
[        ] 	at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
[        ] 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
[        ] 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:57)
[        ] 	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
[        ] 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
[        ] 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
[        ] 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
[        ] 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
[        ] 	at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:322)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:309)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:302)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:288)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:462)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:379)
[        ] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[        ] 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
[        ] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[        ] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[        ] 	at java.base/java.lang.Thread.run(Thread.java:1583)
[        ] Caused by: BUG! exception in phase 'semantic analysis' in source unit '/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter_tools/gradle/src/main/groovy/app_plugin_loader.groovy' Unsupported class file major version 65
[        ] 	at org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:905)
[        ] 	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:627)
[        ] 	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:610)
[        ] 	at org.gradle.api.internal.tasks.compile.ApiGroovyCompiler.execute(ApiGroovyCompiler.java:285)
[        ] 	at org.gradle.api.internal.tasks.compile.ApiGroovyCompiler.execute(ApiGroovyCompiler.java:67)
[        ] 	at org.gradle.api.internal.tasks.compile.GroovyCompilerFactory$DaemonSideCompiler.execute(GroovyCompilerFactory.java:97)
[        ] 	at org.gradle.api.internal.tasks.compile.GroovyCompilerFactory$DaemonSideCompiler.execute(GroovyCompilerFactory.java:76)
[        ] 	at org.gradle.api.internal.tasks.compile.daemon.AbstractDaemonCompiler$CompilerWorkAction.execute(AbstractDaemonCompiler.java:135)
[        ] 	at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
[        ] 	at org.gradle.workers.internal.AbstractClassLoaderWorker$1.create(AbstractClassLoaderWorker.java:49)
[        ] 	at org.gradle.workers.internal.AbstractClassLoaderWorker$1.create(AbstractClassLoaderWorker.java:43)
[        ] 	at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100)
[        ] 	at org.gradle.workers.internal.AbstractClassLoaderWorker.executeInClassLoader(AbstractClassLoaderWorker.java:43)
[        ] 	at org.gradle.workers.internal.IsolatedClassloaderWorker.run(IsolatedClassloaderWorker.java:49)
[        ] 	at org.gradle.workers.internal.IsolatedClassloaderWorker.run(IsolatedClassloaderWorker.java:30)
[        ] 	at org.gradle.workers.internal.WorkerDaemonServer.run(WorkerDaemonServer.java:87)
[        ] 	at org.gradle.workers.internal.WorkerDaemonServer.run(WorkerDaemonServer.java:56)
[        ] 	at org.gradle.process.internal.worker.request.WorkerAction$1.call(WorkerAction.java:138)
[        ] 	at org.gradle.process.internal.worker.child.WorkerLogEventListener.withWorkerLoggingProtocol(WorkerLogEventListener.java:41)
[        ] 	at org.gradle.process.internal.worker.request.WorkerAction.run(WorkerAction.java:135)
[        ] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[        ] 	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[        ] 	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
[        ] 	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
[        ] 	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
[        ] 	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
[        ] 	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:414)
[        ] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[        ] 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
[        ] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[        ] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[        ] 	at java.base/java.lang.Thread.run(Thread.java:1583)
[        ] Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 65
[        ] 	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:199)
[        ] 	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:180)
[        ] 	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:166)
[        ] 	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:287)
[        ] 	at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:81)
[        ] 	at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:251)
[        ] 	at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:189)
[        ] 	at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:169)
[        ] 	at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:125)
[        ] 	at org.codehaus.groovy.control.ResolveVisitor.resolveToOuter(ResolveVisitor.java:869)
[        ] 	at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:506)
[        ] 	at org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1429)
[        ] 	at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:262)
[        ] 	at org.codehaus.groovy.control.CompilationUnit.lambda$new$16(CompilationUnit.java:738)
[        ] 	at org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:901)
[        ] 	... 31 more
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 5s
[ +384 ms] 
           ┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐
           │ [!] Your project's Gradle version is incompatible with the Java version that Flutter is using    │
           │ for Gradle.                                                                                      │
           │                                                                                                  │
           │ If you recently upgraded Android Studio, consult the migration guide at                          │
           │ docs.flutter.dev/go/android-java-gradle-error.                                                   │
           │                                                                                                  │
           │ Otherwise, to fix this issue, first, check the Java version used by Flutter by running `flutter  │
           │ doctor --verbose`.                                                                               │
           │                                                                                                  │
           │ Then, update the Gradle version specified in                                                     │
           │ /Users/swi-oberhauser/Documents/git/playground/intellij_example/android/gradle/wrapper/gradle-wr │
           │ apper.properties to be compatible with that Java version. See the link below for more            │
           │ information on compatible Java/Gradle versions:                                                  │
           │ https://docs.gradle.org/current/userguide/compatibility.html#java                                │
           │                                                                                                  │
           │                                                                                                  │
           └──────────────────────────────────────────────────────────────────────────────────────────────────┘

[   +2 ms] Error: Gradle task assembleDebug failed with exit code 1
[   +1 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:755:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1394:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:372:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:308:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:93:3)
           <asynchronous suspension>


[   +4 ms] "flutter run" took 6,768ms.
[        ] ensureAnalyticsSent: 0ms
[        ] Running 1 shutdown hook
[   +1 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1

```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Building flutter tool...
Resolving dependencies... 
Downloading packages... 
Got dependencies.
[!] Flutter (Channel [user-branch], 3.22.4-0.0.pre.1, on macOS 14.6 23G5066c darwin-arm64, locale en-US)
    ! Flutter version 3.22.4-0.0.pre.1 on channel [user-branch] at /opt/homebrew/Caskroom/flutter/3.22.2/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision 53aef47328 (44 minutes ago), 2024-08-22 17:49:49 +0200
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/swi-oberhauser/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment JBR-21.0.3+13-509.4-jcef (build 21.0.3+13-b509.4)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2.0.2)
    • Android Studio at /Applications/IntelliJ IDEA.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment JBR-21.0.3+13-509.4-jcef (build 21.0.3+13-b509.4)

[✓] Android Studio (version 2024.1.4)
    • Android Studio at /Applications/IntelliJ IDEA CE.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment JBR-17.0.11+1-1207.24-jcef (build 17.0.11+1-b1207.24)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.2.0.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 81.1.3
    • Dart plugin version 242.20629

[✓] IntelliJ IDEA Community Edition (version 2024.1.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 80.0.2
    • Dart plugin version 241.17890.8

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile)     • emulator-5554         • android-arm64  • Android 15 (API 35) (emulator)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.6 23G5066c darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.6 23G5066c darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 128.0.6613.84

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.
```

</details>