【发布时间】:2021-06-19 04:32:02
【问题描述】:
在我的应用中,我正在使用一些包
environment:
sdk: ">=2.2.2 <3.0.0"
module:
androidX: true
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: 1.0.0
google_maps_flutter: 1.0.3
google_map_location_picker: 4.0.0
mvc_pattern: 6.3.0
global_configuration: 1.6.0
http: 0.12.2
html: 0.14.0+4
shared_preferences: ^0.5.12+2
flutter_html: 1.0.2
flutter_svg: 0.18.1
location: 3.0.2
webview_flutter: 0.3.24
url_launcher: 5.7.7
firebase_messaging: 7.0.3
cached_network_image: 2.3.3
fluttertoast: 4.0.1
flutter_staggered_grid_view: 0.3.2
intl_utils: 1.8.0
carousel_slider: 2.3.1
cloud_firestore: 0.14.1+3
firebase_auth: 0.18.1+2
firebase_core: 0.5.0+1
现在我的酒吧出现了一些错误
因为 google_map_location_picker >=3.3.1 =0.16.0 =3.3.1
因此,由于 food_app 依赖于来自 sdk 和 google_map_location_picker 4.0.0 的任何 flutter_localizations,版本求解失败。 pub get failed (1; 所以,因为 food_app 依赖于来自 sdk 和 google_map_location_picker 4.0.0 的任何 flutter_localizations,版本解析失败。)
我正在尝试将 any 用于包,但它会产生更多错误
那么,我该如何处理这个问题!
【问题讨论】: