【问题标题】:how can i solve this problem in my dependences of flutter?我如何在我对颤振的依赖中解决这个问题?
【发布时间】:2021-01-19 10:21:52
【问题描述】:

应用关闭后发送的事件: {id: 0, progressId: null, message: Running "flutter pub get" in theapp...} 因为 masterstudy_app 依赖于flutter_html ^1.0.2,而video_player ^0.10.11+2 又依赖于video_player ^0.10.11+2,所以需要video_player ^0.10.11+2。 所以,因为masterstudy_app依赖video_player 0.10.9,版本解析失败。 应用关闭后发送的事件:{id: 0, progressId: null, finished: true} pub get failed(1;所以,因为masterstudy_app依赖video_player 0.10.9,版本解析失败。)

【问题讨论】:

    标签: flutter dart mobile


    【解决方案1】:

    在 pubcpeck.yaml 中将依赖 video_player 0.10.9 更改为 ^0.10.11+2 并点击 pub get。

    【讨论】:

      猜你喜欢
      • 2019-12-23
      • 2021-07-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-28
      • 2020-10-15
      • 1970-01-01
      • 2022-10-24
      相关资源
      最近更新 更多