Open
Description
I have the Flutter plugin installed with IDEA. I've tried adding its Hot Reload (All Devices) and Hot Restart (All Devices) buttons to the Touch Bar of my Mac but they don't show up. Here are the screenshots. FYI, the single device hot reload and hot restart buttons don't work either. Some other Flutter-related buttons I've tested seemed working fine.
The issue was first reported directly to JetBeans (issue), but I was redirected to this repository.
Steps to Reproduce
On a Macbook with Touch Bar, do the following:
- Open IntelliJ IDEA with Flutter and Dart plugins installed.
- Go to IntelliJ IDEA -> Preferences -> Appearance & Behavior -> Menus and Toolbars.
- Expand the "Touch Bar" menu item. Expand "Default".
- Remove some items to make some space and then add "Hot Reload (All Devices)" and "Hot Restart (All Devices)". (Single device options cause the same problem.)
- Apply and save.
Expected: Items appear on the Touch Bar.
Actual: They are not there.
Version info
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.2.1 20D74 darwin-arm, locale ru-RU)
• Flutter version 2.2.3 at /Users/%username%/.flutter
• Framework revision f4abaa0735 (5 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/%username%/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 15.0.1+9-18)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5.1, Build version 12E507
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (version 2020.3)
• Android Studio at /Users/%username%/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android
Studio.app/Contents
• 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
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[✓] VS Code (version 1.58.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.25.0
[✓] Connected device (3 available)
• iPhone 11 Pro (mobile) • D68FF329-3843-4136-9EA3-48B318886D68 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5
(simulator)
• iPhone 12 Pro Max (mobile) • 519B0D9F-9AF4-4A0F-90F9-EE56166E3065 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5
(simulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.131
! Error: %iphone_name% is not connected. Xcode will continue when %iphone_name% is connected. (code -13)
! Doctor found issues in 1 category.