-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Description
samples/add_to_app/android_view/android_view/app/src/main/java/dev/flutter/example/androidView/FlutterViewEngine.kt: (58, 64): Type mismatch: inferred type is ComponentActivity but ExclusiveAppComponent<Activity!> was expected
flutter doctor -v
[✓] Flutter (Channel main, 3.5.0-10.0.pre.17, on macOS 12.6 21G115 darwin-x64, locale zh-Hans-CN)
• Flutter version 3.5.0-10.0.pre.17 on channel main at /Users/zero/fvm/versions/main
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 59d26c481a (3 days ago), 2022-10-20 20:05:08 -0400
• Engine revision f24ea1a04d
• Dart version 2.19.0 (build 2.19.0-324.0.dev)
• DevTools version 2.18.0
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
• Android SDK at /Users/zero/Library/Android/sdk
• Platform android-33, build-tools 33.0.0-rc1
• ANDROID_HOME = /Users/zero/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A400
• CocoaPods version 1.11.3
[✓] Android Studio (version 2021.1)
• 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.11+0-b60-7590822)
[✓] VS Code (version 1.72.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.50.0
[✓] Connected device (2 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 12 (API 31) (emulator)
• macOS (desktop) • macos • darwin-x64 • macOS 12.6 21G115 darwin-x64
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Metadata
Metadata
Assignees
Labels
No labels