【问题标题】:version solving failed. Pubspec yaml, flutter版本解决失败。 Pubspec yaml,颤振
【发布时间】:2022-01-11 17:32:49
【问题描述】:

因为anyline 的每个版本都依赖于permission_handler ^5.0.1+1 而motorgate 依赖于permission_handler ^8.3.0,所以anyline 是被禁止的。 所以,由于motorgate依赖anyline ^24.0.0-dev.1,版本解析失败。 pub get failed (1; 所以,因为motorgate依赖anyline ^24.0.0-dev.1,版本解析失败。)

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: ^1.0.2
  http: ^0.13.4
  json_annotation: ^4.3.0
  flutter_icons: ^1.1.0
  provider: ^6.0.1
  shared_preferences: ^2.0.8
  material_design_icons_flutter: 5.0.5955-rc.1
  start_jwt: ^0.2.0
  fluttertoast: ^8.0.8
  flutter_pw_validator: ^1.3.0
  cool_alert:
  rflutter_alert: ^2.0.4
  whatsapp_unilink: ^2.0.0
  url_launcher: ^6.0.15
  flutter_launch: ^0.3.0
  geolocator: ^7.7.1
  geocoding: ^2.0.1
  google_sign_in: ^5.2.1
  flutter_facebook_auth:
  flutter_animated_dialog: ^2.0.1
  flutter_barcode_scanner: ^2.0.0
  restart_app: ^1.1.0
  permission_handler: ^8.3.0
  anyline: ^24.0.0-dev.1

【问题讨论】:

    标签: flutter dart dependencies pubspec anyline


    【解决方案1】:

    anyline 已过时,与您的其他软件包不兼容。您必须将permission_handler 降级到版本^5.0.1+1 才能兼容,但这可能会导致其他问题。

    【讨论】:

      猜你喜欢
      • 2020-08-10
      • 2019-02-22
      • 1970-01-01
      • 2020-01-24
      • 1970-01-01
      • 2018-12-30
      • 2021-05-01
      • 2022-11-03
      • 1970-01-01
      相关资源
      最近更新 更多