GithubHelp home page GithubHelp logo

Comments (5)

Chen-Hu avatar Chen-Hu commented on August 29, 2024

尝试编译失败
主要是 chewie open_iconic_flutter Dart SDK 之间的版本冲突问题
能给指导下吗?怎么解决吗?

➜ Flutter_YYeTs git:(master) flutter build apk
The current Dart SDK version is 2.2.1-dev.0.0.flutter-7c70ab1817.

Because no versions of chewie match >0.6.1 <0.7.0 and chewie 0.6.1 depends on open_iconic_flutter ^0.2.0, chewie ^0.6.1 requires open_iconic_flutter ^0.2.0.
Because open_iconic_flutter 0.2.0 requires SDK version <2.0.0 and no versions of open_iconic_flutter match >0.2.0 <0.3.0, open_iconic_flutter ^0.2.0 is forbidden.
Thus, chewie ^0.6.1 is forbidden.
So, because yyets depends on chewie ^0.6.1, version solving failed.
Running "flutter packages get" in Flutter_YYeTs...
pub get failed (1)

我尝试 定义为
chewie 0.9.6
open_iconic_flutter 0.3.0
虽然不报错,但是chewie 编译不过。
➜ Flutter_YYeTs git:(master) ✗ flutter build apk
Initializing gradle... 1.5s
Resolving dependencies... 3.3s

Compiler message:
lib/widgets/video_player_view.dart:30:19: Error: Too many positional arguments: 0 allowed, but 1 found.
Try removing the extra positional arguments.
? Chewie(
^
file:///Users/apple/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/chewie-0.9.6/lib/src/chewie_player.dart:16:3: Context: Found this candidate, but the arguments don't match.
Chewie({
^
Compiler terminated unexpectedly.

尝试修改别的 chewie 版本 都不能通过编译。

求指导。。

from flutter_yyets.

popeyelau avatar popeyelau commented on August 29, 2024

小米手机,Android系统

谢谢

抱歉, 我机器上没有 Android 环境,
希望有环境的同学可以帮忙打个包。

from flutter_yyets.

popeyelau avatar popeyelau commented on August 29, 2024

@Chen-Hu 更新下 Master 分支。

from flutter_yyets.

Chen-Hu avatar Chen-Hu commented on August 29, 2024

小米手机,Android系统
谢谢

抱歉, 我机器上没有 Android 环境,
希望有环境的同学可以帮忙打个包。

我可以帮忙打包,但是里面你的信息可能会暴露。要不你修改下里的用户信息吧?

from flutter_yyets.

yslings avatar yslings commented on August 29, 2024

有木有QQ群,互相交流一下啊。
另外图片什么不显示?

from flutter_yyets.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.