颤动版本:2.6.0-12.0.pre.381
飞镖版本:2.15.0
Gradle 版本:distributionUrl=https://services.gradle.org/distributions/gradle-6.7-all.zip
在 pubspec.yaml 中,我有这些包:
environment:
sdk: ">=2.12.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.
splashscreen: ^1.2.0
bottom_navy_bar:
cupertino_icons: ^1.0.2
image_picker: ^0.8.0+4
fluttertoast: ^8.0.7
shared_preferences: ^2.0.6
share: ^2.0.4
flutter_barcode_scanner: ^2.0.0-nullsafety.0
dropdown_search: ^1.0.0
syncfusion_flutter_pdfviewer:
ndialog: ^4.1.0
flutter_pdfview: ^1.0.4
http: ^0.13.3
dio: ^4.0.0
path_provider: ^2.0.3
downloads_path_provider_28: ^0.1.2
permission_handler: ^8.1.4+2
open_file: ^3.2.1
flutter_local_notifications: ^9.0.0
Run Code Online (Sandbox Code Playgroud)
相同的包正在另一个项目中工作。有关如何解决问题的任何建议。我认为这是由于 build.graddle 中的一些错误造成的。
我在 build.gradle …