pubspec.yaml内容 如下
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
#cupertino_icons: ^0.1.3
#http网络交互
dio: ^3.0.9
#flutter_svg: ^0.17.3
#轮播
flutter_swiper: ^1.1.6
flutter_statusbarcolor: ^0.2.3
#图片缓存加载
cached_network_image: ^2.2.0+1
url_launcher: ^5.7.2
clipboard: ^0.1.2+8
photo_view: ^0.10.2
#flutter_bmfmap: ^1.0.2
fluwx: ^2.4.0
provider: ^4.1.3
flutter_html: ^1.0.0
shared_preferences: ^0.5.12+4
orientation: ^1.2.0
chewie: ^0.9.10
video_player: ^0.10.11+2
extended_nested_scroll_view: ^1.0.1
loading_more_list: ^3.1.1
pull_to_refresh_notification: ^1.1.2
ff_annotation_route: ^4.2.0
permission_handler: 5.0.1+1
#device_info: ^1.0.0
package_info: ^0.4.1
path_provider: ^1.6.11
open_file: ^3.0.1
progress_dialog: ^1.2.0
ios_keychain:
path: ./ioskeychain
dev_dependencies:
flutter_test:
sdk: flutter
flutter doctor
[✓] Flutter (Channel stable, v1.17.5, on macOS 11.3.1 20E241, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 12.5)
[!] Android Studio (version 4.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.72.1)
[✓] Connected device (1 available)
代码是之前的同事写的,只留了代码,留的环境 是mac下的ios部分,没安装android studio及java,是我自己新搭建的安卓环境(我认为是我的环境搭建有问题)
安卓运行时总是出现如下总题或提示
gradle task assembleDebbug 总是在编译这步出现以下部分错误提示
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin flutter_statusbarcolor...
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
请大神指点
我看着是有的插件版本太老 没有支持安卓X ?