flutter / flutter/flutter-intellij
Run Configurations are not loaded at IDE startup
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
For several weeks now Android Studio doesn't load the run configurations for my flutter project that are stored as files when I start the IDE.
A workaround is to select "File" / "Repair IDE". Most of the time it restores the expected state after recovery step 2 "Rescan Project Indexes". But it will be lost again after I close the IDE and start it again.
I already filed an issue at the Android Studio issue tracker, but it was closed immediately refering to this flutter-intellij tracker.
Please let me know if you need any further information and thank you in advance for taking your time.
## Steps to Reproduce
1. Create some run configurations like these:

2. Close Android Studio and start it again. The run configurations are missing and in addition to that the IDE generates an unwanted default configuration "main.dart":

## Version info
$ flutter doctor -v
[√] Flutter (Channel stable, 3.16.4, on Microsoft Windows [Version 10.0.19045.3803], locale de-DE)
• Flutter version 3.16.4 on channel stable at C:\ProgramData\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2e9cb0aa71 (3 days ago), 2023-12-11 14:35:13 -0700
• Engine revision 54a7145303
• Dart version 3.2.3
• DevTools version 2.28.4
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\ProgramData\Android\Sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
• All Android licenses accepted.
[√] Chrome - develop for the web
• CHROME_EXECUTABLE = C:\Projekte Zusatzdaten\Android\google-chrome-unsafe.bat
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.3)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.8.34330.188
• Windows 10 SDK version 10.0.20348.0
[√] Android Studio (version 2023.1)
• Android Studio at C:\Program Files\Android\Android Studio
• 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 (build 17.0.7+0-b2043.56-10550314)
[√] VS Code (version 1.84.2)
• VS Code at C:\Users\Daniel\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.76.0
[√] Connected device (4 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 14 (API 34) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3803]
• Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.71
• Edge (web) • edge • web-javascript • Microsoft Edge 120.0.2210.61
[√] Network resources
• All expected network resources are available.
• No issues found!
Contributor guide
Assessment
This issue has not been assessed yet.