-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/packages
#406Labels
p: pigeonrelated to pigeon messaging codegen toolrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Steps to Reproduce
- Create fresh flutter project
- import 'package:pigeon/pigeon.dart';
- Try to run the project - error Dart Error: error: import of dart:mirrors is not supported in the current Dart runtime
[ +181 ms] [VERBOSE-2:shell.cc(103)] Dart Error: error: import of dart:mirrors is not supported in the current Dart runtime
[ ] [VERBOSE-2:dart_isolate.cc(171)] Could not prepare isolate.
[ ] [VERBOSE-2:runtime_controller.cc(415)] Could not create root isolate.
[ ] [VERBOSE-2:shell.cc(588)] Could not launch engine with configuration.
Expected results:
Be able to build my app
Actual results:
Cannot build the app due to issue caused by Pigeon
Logs
Analyzing main...
info • Unused import: 'package:pigeon/pigeon.dart' • lib/main.dart:3:8 • unused_import
1 issue found. (ran in 3.7s)
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en-GB)
• Flutter version 2.2.3 at /Users/czaku/Dev/sdks/flutter
• Framework revision f4abaa0735 (9 days 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.0)
• Android SDK at /Users/czaku/Library/Android/sdk
• Platform android-30, build-tools 30.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode-beta.app/Contents/Developer
• Xcode 13.0, Build version 13A5155e
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/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
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] VS Code (version 1.57.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.24.0
[✓] Connected device (2 available)
• czaku iPhone (mobile) • 00008101-00120D390A90001E • ios • iOS 15.0
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114
! Error: Apple TV Living is not connected. Xcode will continue when Apple TV Living is connected. (code -13)
! Error: czaku iPhone is not connected. Xcode will continue when czaku iPhone is connected. (code -13)
! Error: czaku iPhone is busy: Making the device ready for development. Xcode will continue when czaku iPhone is finished. (code -10)
! Doctor found issues in 1 category.
Metadata
Metadata
Assignees
Labels
p: pigeonrelated to pigeon messaging codegen toolrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version