flutter / flutter/flutter-intellij

Flutter device selection requires manual refresh after IntelliJ cache invalidations

Open
#6,902 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

## Steps to Reproduce

1. Open flutter project that uses android emulator in IntelliJ. Ultimate ft. dart + flutter plugins
2. File -> Invalidate Caches -> Invalidate and Restart
3. After indexing try opening android emulator from flutter device selection
4. Emulator is not showing up without manual refresh

https://github.com/flutter/flutter-intellij/assets/110461774/3b550a25-c3a5-4c6e-bfe9-29e0f07dae58

## Version info

[√] Flutter (Channel stable, 3.13.0, on Microsoft Windows [Version 10.0.22621.2134], locale fi-FI)
• Flutter version 3.13.0 on channel stable at C:\flutter\flutter_windows_3.10.2-stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision efbf63d9c6 (4 weeks ago), 2023-08-15 21:05:06 -0500
• Engine revision 1ac611c64e
• Dart version 3.1.0
• DevTools version 2.25.0

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at C:\Android\Sdk
• Platform android-33, build-tools 33.0.2
• Java binary at: C:\Users\\AppData\Local\Programs\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Dart plugin version 232.9559.10

[√] VS Code (version 1.81.0)
• VS Code at C:\Users\\AppData\Local\Programs\Microsoft VS Code
• Flutter extension can be installed from:
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (4 available)
• sdk gphone x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.2134]
• Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.180
• Edge (web) • edge • web-javascript • Microsoft Edge 116.0.1938.76

[√] Network resources
• All expected network resources are available.

• No issues found!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.