Package error google_map_location_picker: 4.0.0



在我的应用程序中,我正在使用一些包

cupertino_icons: ^1.0.2
firebase_messaging: ^9.0.0
intl: ^0.17.0
url_launcher: ^6.0.2
flutter_svg: ^0.20.0-nullsafety.3
http: ^0.13.0
fluttertoast: ^7.1.1
carousel_slider: ^3.0.0
shared_preferences: ^2.0.3
html: ^0.14.0+4
firebase_core: ^1.0.1
flutter_staggered_grid_view: ^0.3.4
cached_network_image: ^2.5.1
mvc_pattern: ^7.0.0
location: ^4.1.1
global_configuration:
google_maps_flutter: ^2.0.1
firebase_auth: ^1.0.1
cloud_firestore: ^1.0.1
webview_flutter: ^1.0.7
flutter_html: ^1.3.0

现在我想再添加两个包:第一个是google_map_location_picker:4.0.0当我试图把它放在酒吧时,这个错误出现在上

因为google_map_location_picker>3.3.1<4.1.3取决于intl

0.16.0<0.16.1和akl_beti依赖于intl^0.17.0,google_map_location_picker>3.3.1<4.1.3是禁止的。所以,因为akl_beti依赖于google_map_location_picker 4.0.0,版本求解失败。pub-get失败(1;因此,因为food_delivery_app依赖于google_map_location_picker 4.0.0,版本解决失败。(

第二个包是intl_utils:1.8.0当我试图把它放在酒吧时,这个错误出现在上

因为intl_utils^1.7.0依赖于http^0.12.2和food_delivery_app依赖于http^0.13.0,intl_utils^1.7.0是被禁止的因此,由于food_delivery_app依赖于intl_utils 1.8.0,版本解决失败。pub get失败(1;所以,因为food_delivery_app依赖于intl_utils 1.8.0,版本求解失败。(

那么,我该如何处理这个问题!

pubspec中的错误表明google_map_location_pickerintl_utils的版本依赖于使用的其他包的较低版本。

虽然允许使用任何语法,但不建议使用文档中提到的语法。使用该语法可能会将其设置为程序包的损坏版本。最好手动设置google_map_location_pickerintl_utils的旧版本,以找到与您正在使用的其他软件包兼容的版本。

最新更新