question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Device Selector missing in IDEA UI Preview

See original GitHub issue

Steps 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:closed
  • Created a year ago
  • Reactions:8
  • Comments:20 (7 by maintainers)

github_iconTop GitHub Comments

30reactions
qseworkscommented, Oct 3, 2022

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

image

Step 2 : Click on Add Action

image

Step 3 : Type in flutter.deviceSelector, select it , and press OK.

image

Step 4 : Hit Apply

image

Step 4 : Done. You should see it appear , Happy Coding !

image

3reactions
kiratheonecommented, Dec 1, 2022

Issue still exist on Official version of intellij with new UI @azeek but @qseworks tips work for me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found