flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.15k stars 27.46k forks source link

6668 lines of errors when running the sample main.dart in Android Studio. #146978

Closed cornerplotter closed 6 months ago

cornerplotter commented 6 months ago

Was trying to run the default/sample main.dart in Android Studio. I have previously run tutorials from YouTube: https://www.youtube.com/watch?v=TSIhiZ5jRB0&t=559s suddenly everything started to error.
Removed all projects started again. 6668 lines of errors remain. This is painful!

Oh yes, and the emulator keeps crashing. Reverting to an earlier version from the Emulator Download Archives doesn't help.

Version information

Android Studio Iguana | 2023.2.1 Patch 2 • Flutter plugin io.flutter 79.0.1 • Dart plugin 232.10313

Error getting Flutter sdk information.

Exception

null

java.lang.IllegalStateException: configureNewProject should be used with new projects only
    at com.android.tools.idea.gradle.project.importing.GradleProjectImporter$Companion.configureNewProject(GradleProjectImporter.kt:204)
    at com.android.tools.idea.gradle.project.importing.GradleProjectImporter$importAndOpenProjectCore$1$1$1.invokeSuspend(GradleProjectImporter.kt:99)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at com.intellij.openapi.application.impl.DispatchedRunnable.run(DispatchedRunnable.kt:43)
    at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:208)
    at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
    at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:190)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
    at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:478)
    at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:79)
    at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:121)
    at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:690)
    at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:593)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(ApplicationImpl.java:1485)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:593)
    at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:997)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
    at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:997)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405)
    at com.intellij.openapi.progress.impl.PlatformTaskSupportKt.pumpEventsForHierarchy(PlatformTaskSupport.kt:379)
    at com.intellij.openapi.progress.impl.PlatformTaskSupportKt.access$pumpEventsForHierarchy(PlatformTaskSupport.kt:1)
    at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(PlatformTaskSupport.kt:157)
    at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(PlatformTaskSupport.kt:135)
    at com.intellij.openapi.application.impl.ModalityKt.inModalContext(modality.kt:12)
    at com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:135)
    at com.intellij.openapi.progress.impl.PlatformTaskSupport.access$runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:41)
    at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(PlatformTaskSupport.kt:123)
    at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(PlatformTaskSupport.kt:119)
    at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:94)
    at com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:119)
    at com.intellij.openapi.progress.TasksKt.runWithModalProgressBlocking(tasks.kt:167)
    at com.intellij.ide.impl.ProjectUtilKt.runUnderModalProgressIfIsEdt(ProjectUtil.kt:710)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.kt:546)
    at com.android.tools.idea.gradle.project.importing.GradleProjectImporter.importAndOpenProjectCore(GradleProjectImporter.kt:90)
    at io.flutter.actions.OpenAndroidModule.openOrImportProject(OpenAndroidModule.java:64)
    at io.flutter.actions.OpenAndroidModule.actionPerformed(OpenAndroidModule.java:52)
    at io.flutter.actions.OpenInAndroidStudioAction.actionPerformed(OpenInAndroidStudioAction.java:60)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:339)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:313)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:362)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:313)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$performAction$5(ActionMenuItem.java:300)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:226)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem.performAction(ActionMenuItem.java:293)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$new$0(ActionMenuItem.java:68)
    at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$4(ActionMenuItem.java:115)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
    at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:115)
    at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:526)
    at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:558)
    at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657)
    at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385)
    at java.desktop/java.awt.Component.processEvent(Component.java:6422)
    at java.desktop/java.awt.Container.processEvent(Container.java:2266)
    at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
    at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4969)
    at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4583)
    at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4524)
    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
    at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2809)
    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:690)
    at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:638)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:592)
    at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:997)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
    at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:997)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

main_dart_errors.txt

AbdeMohlbi commented 6 months ago

This is a plugin exception as i last checked try downgrading to flutter plugin 78 or 77

cornerplotter commented 6 months ago

Thanks @AbdeMohlbi. I tried downgrading to 3.19.5 - got same number of errors. Tried downgrading to 3.19.4 using git checkout 3.19.4, now suck in a loop of:

                              ^^^^^^^^^^^

Error: Unable to create dart snapshot for flutter tool. Building flutter tool... Running pub upgrade... Resolving dependencies... (2.0s) Got dependencies. ../../AppData/Local/Pub/Cache/hosted/pub.dev/vm_service_interface-1.0.0/lib/src/service_extension_registry.dart:6:8: Error: Dart library 'dart:html' is not available on this platform. import 'dart:html'; ^ Context: The unavailable library 'dart:html' is imported through these packages:

flutter_tools.dart => package:flutter_tools => package:dwds => package:vm_service_interface => dart:html

Detailed import paths for (some of) the these imports:

flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/debug_service.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/debug_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/dwds_vm_client.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/services/debug_service.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/services/debug_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/debug_service.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/debug_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/dwds_vm_client.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/services/debug_service.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/services/debug_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/connections/debug_connection.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/debug_service.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/debug_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/dwds_vm_client.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
flutter_tools.dart => package:flutter_tools/executable.dart => package:flutter_tools/src/isolated/resident_web_runner.dart => package:dwds/dwds.dart => package:dwds/dart_web_debug_service.dart => package:dwds/src/handlers/dev_handler.dart => package:dwds/src/services/app_debug_services.dart => package:dwds/src/dwds_vm_client.dart => package:dwds/src/services/chrome_proxy_service.dart => package:vm_service_interface/vm_service_interface.dart => package:vm_service_interface/src/vm_service_interface.dart => package:vm_service_interface/src/service_extension_registry.dart => dart:html
...

../../AppData/Local/Pub/Cache/hosted/pub.dev/webdriver-3.0.3/lib/src/async/target_locator.dart:21:9: Error: Type 'WebDriver' not found. final WebDriver _driver; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/webdriver-3.0.3/lib/src/async/target_locator.dart:62:23: Error: Type 'Window' not found. Future window(Window window) => window.setAsActive(); ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/webdriver-3.0.3/lib/src/async/target_locator.dart:68:3: Error: Type 'Alert' not found. Alert get alert => Alert(_client, _handler); ^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/webdriver-3.0.3/lib/src/common/webdriver_handler.dart:214:45: Error: Type 'By' not found. WebDriverRequest buildFindElementsRequest(By by, [String? contextId]); ^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/webdriver-3.0.3/lib/src/common/webdriver_handler.dart:220:44: Error: Type 'By' not found. WebDriverRequest buildFindElementRequest(By by, [String? contextId]); ^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/webdriver-3.0.3/lib/src/common/webdriver_handler.dart:255:8: Error: Type 'MouseButton' not found. [MouseButton button = MouseButton.primary]); ^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/webdriver-3.0.3/lib/src/common/webdriver_handler.dart:261:38: Error: Type 'MouseButton' not found. WebDriverRequest buildDownRequest([MouseButton button = MouseButton.primary]); ^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/webdriver-3.0.3/lib/src/common/webdriver_handler.dart:267:36: Error: Type 'MouseButton' not found. WebDriverRequest buildUpRequest([MouseButton button = MouseButton.primary]); ^^^^^^^^^^^

AbdeMohlbi commented 6 months ago

The problem is not in flutter it's in the plugin try to install another Android studio flutter plugin

AbdeMohlbi commented 6 months ago

'io.flutter 79.0.1' try using an older version of this In this website There are all versions of the plugin try using another version else try to open the Android studio in the project then clean the ide and refresh everything

danagbemava-nc commented 6 months ago

Closing this as a duplicate of https://github.com/flutter/flutter-intellij/issues/7350.

In the future, please report issues with the IntelliJ plugin on the flutter-intellij repo.

Thank you

cornerplotter commented 6 months ago

Didn't know I was using intellij... whatever that is :-)

AbdeMohlbi commented 6 months ago

Try using 78 i think it has not this problem

danagbemava-nc commented 6 months ago

Didn't know I was using intellij... whatever that is :-)

Android Studio is built on top of IntelliJ (an IDE from jetbrains)

github-actions[bot] commented 6 months ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.