flutter / flutter/flutter-intellij
Illegal State Exception: early Disposable was already disposed when opening Flutter project
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
## What happened
While opening an existing Flutter project located at `E:\vknowyn`, Android Studio threw an exception and failed to retrieve Flutter SDK information.
The project did not load properly. This happened right after selecting `File > Open` and choosing the project directory.
## Version information
- Android Studio: Meerkat | 2024.3.1 Patch 2
- Flutter plugin: io.flutter 85.3.1
- Dart plugin: 243.26753.1
- Flutter SDK: (Unknown, unable to fetch due to exception)
- OS: Windows 10/11
## Steps to Reproduce
1. Open Android Studio
2. Go to `File > Open`
3. Choose a Flutter project directory (in this case: `E:\vknowyn`)
4. Wait while the project loads
5. The error appears and the Flutter SDK can't be detected
## Exception
Contributor guide
Research direction
Start by reproducing the failure while opening an existing Flutter project from File > Open on Windows, using the versions and project path reported in the issue. Investigate why Flutter SDK information cannot be retrieved after the early Disposable exception; done means the project opens and the Flutter SDK is detected without the exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter, java
- Domain
- mobile-dev, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100