Closed YueLiXing closed 11 months ago
1.18.2
iOS
any
[✓] Flutter (Channel stable, 3.3.9, on macOS 14.1.1 23B81 darwin-arm, locale zh-Hans-CN) • Flutter version 3.3.9 on channel stable at /opt/homebrew/Cellar/fvm/2.4.1/versions/3.3.9 • Upstream repository https://github.com/flutter/flutter.git • Framework revision b8f7f1f986 (1 年前), 2022-11-23 06:43:51 +0900 • Engine revision 8f2221fbef • Dart version 2.18.5 • DevTools version 2.15.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.2) • Android SDK at /Users/yuelixing/Library/Android/sdk • Platform android-34, build-tools 33.0.2 • Java binary at: /Users/yuelixing/Documents/jdk/jdk-11.0.2.jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment 18.9 (build 11.0.2+9) ✗ 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 15.0.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15A507 • CocoaPods version 1.12.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio (version 2022.3) • Android Studio at /Users/yuelixing/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 ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio. [✓] VS Code (version 1.84.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.76.0 [✓] Connected device (3 available) • iPhone 15 Pro (mobile) • E67C5652-45DE-4D03-A001-BC8FA0F25A9D • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.1.1 23B81 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 119.0.6045.159 [✓] HTTP Host Availability • All required HTTP hosts are available
因为使用了高版本才有的 api,导致在 flutter 3.3.9 上出现报错,建议在 yaml 文件里添加 environment flutter 版本限制,以解决兼容问题
No response
scrollview_observer: ^1.14.2 当然,也有我们自己的问题在里面
之前在 1.18.1 里确实没注意到使用了高版本的 API,不过在 1.18.2 中已经是限制了 flutter 版本的了,感谢你的反馈
1.18.1
API
flutter
Version
1.18.2
Platforms
iOS
Device Model
any
flutter info
How to reproduce?
因为使用了高版本才有的 api,导致在 flutter 3.3.9 上出现报错,建议在 yaml 文件里添加 environment flutter 版本限制,以解决兼容问题
Logs
No response
Example code (optional)
No response
Contact
No response