Device Selector missing in IDEA UI Preview
See original GitHub issueSteps to Reproduce
Activate the new ui preview in IntelliJ IDEA and you will see that the device selector is missing.
Note: I can run my app using flutter run
in my terminal and if i deactivate the preview I can select my desktop as the device.
Version info
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1841, on Fedora Linux 36 (Workstation Edition) 5.18.11-200.fc36.x86_64, locale de_DE.UTF-8)
• Flutter version 3.1.0-0.0.pre.1841 on channel master at /mnt/Data/SDK/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ea2396eca0 (vor 2 Stunden), 2022-07-25 06:12:06 -0400
• Engine revision 1db83d265c
• Dart version 2.19.0 (build 2.19.0-33.0.dev)
• DevTools version 2.15.0
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
• clang version 14.0.0 (Fedora 14.0.0-1.fc36)
• cmake version 3.22.2
• ninja version 1.10.2
• pkg-config version 1.8.0
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[✓] IntelliJ IDEA Ultimate Edition (version 2022.2)
• IntelliJ at /home/dseelp/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3345.90
• Flutter plugin version 69.0.5
• Dart plugin version 222.3345.108
[✓] Connected device (1 available)
• Linux (desktop) • linux • linux-x64 • Fedora Linux 36 (Workstation Edition) 5.18.11-200.fc36.x86_64
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 3 categories.
Issue Analytics
- State:
- Created a year ago
- Reactions:8
- Comments:20 (7 by maintainers)
Top Results From Across the Web
#newUI breaks Flutter plugin device selector : IDEA-298614
#newUI breaks Flutter plugin device selector · Go to Preferences | Appearance & Behavior | Menus and Toolbars | Main toolbar center ·...
Read more >Android Studio Dolphin | 2021.3.1
Use this new annotation to preview multiple devices, fonts, and themes at the ... is important in understanding whether your UI is implemented...
Read more >Adding the Native UI Picker - Spark AR
Scripting · Go to Project in the menu bar and select Edit Properties. · Select the Capabilities tab and click on the +...
Read more >Cannot preview SwiftUI | Apple Developer Forums
What worked for me is I went to file inspector in the utilities area on the right hand side of the xcode editor....
Read more >UiPath Community 2022.10 Preview Release
UIAutomation · Qt UI support · Better VB6/Epic selector attributes · Web Selectors Improvements · Open Remote Browser · Expose all the methods...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Guys , Please Note that the device selector was added in Intelij EAP 2022.3 . The Following Steps Should resolve the issue.
Step 1 : Right Click on the Area Next to run button , you should see a customize toolbar popup as shown below
Step 2 : Click on Add Action
Step 3 : Type in flutter.deviceSelector, select it , and press OK.
Step 4 : Hit Apply
Step 4 : Done. You should see it appear , Happy Coding !
Issue still exist on Official version of intellij with new UI @azeek but @qseworks tips work for me.