Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目启动不了,有没有大佬求助,版本的问题 #119

Open
S1lenceStar opened this issue Feb 5, 2025 · 1 comment
Open

项目启动不了,有没有大佬求助,版本的问题 #119

S1lenceStar opened this issue Feb 5, 2025 · 1 comment

Comments

@S1lenceStar
Copy link

flutter 原本3.4.1 新创建项目的时候 是可以运行的,但是我想学习一下此项目。
此项目版本是 sdk: ">=2.1.0 <3.0.0"
于是我下载后降级 flutter 到版本 2.2.1

运行:
flutter run -d chrome
报错:
The current Dart SDK version is 2.13.1.

Because doubanapp depends on webview_flutter >=2.0.14 which requires SDK version >=2.14.0 <4.0.0, version solving failed.
Running "flutter pub get" in FlutterDouBan-main...
pub get failed (1; Because doubanapp depends on webview_flutter >=2.0.14 which requires SDK version >=2.14.0 <4.0.0,
version solving failed.)

然后我去下载了 Dart @2.15.1 替换掉了 flutter\bin\cache\dart-sdk 的文件夹

运行 flutter run -d chrome 的时候报错:
Can't load Kernel binary: Invalid kernel binary format version.

@huangchengzuo
Copy link

huangchengzuo commented Feb 5, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants