Skip to content

什么时候能适配flutter2.8 #1002

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

Closed
krisfly opened this issue Dec 21, 2021 · 5 comments
Closed

什么时候能适配flutter2.8 #1002

krisfly opened this issue Dec 21, 2021 · 5 comments
Labels
question Further information is requested

Comments

@krisfly
Copy link

krisfly commented Dec 21, 2021

使用的 Kraken 版本 | What version of kraken are you using

重现步骤 | Steps To Reproduce

重现代码 | Code example:

预期结果 | Expected results:

实际结果 | Actual results:

@krisfly krisfly added the bug Something isn't working label Dec 21, 2021
@answershuto
Copy link
Member

近期打算切 2.5,我们升级 flutter 一般等新版本出来后稳定一段时间。

@yifei8
Copy link
Contributor

yifei8 commented Dec 22, 2021

近期打算切 2.5,我们升级 flutter 一般等新版本出来后稳定一段时间。

目前支持的是哪个版本,我flutter降到2.2.0/2.3.0的版本,在windows上还是会报以下错误。

Unhandled exception:
Invalid argument(s): A directory corresponding to fileSystemPath "C:\Users\xxxx\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\devtools-2.9.2\build" could not be found
#0 createStaticHandler
package:shelf_static/src/static_handler.dart:50
#1 defaultHandler (package:devtools_server/src/external_handlers.dart:38:23)

#2 serveDevTools (package:devtools_server/src/server.dart:215:15)

#3 serveDevToolsWithArgs (package:devtools_server/src/server.dart:73:10)

E/flutter (16565): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libkraken.so': dlopen failed: library "libkraken.so" not found

@fadeAce
Copy link

fadeAce commented Dec 23, 2021

请到 https://docs.flutter.dev/development/tools/sdk/releases?tab=windows stable channel
下载 v2.2.1版本,并设置好PATH 不要使用cherrypick或者 git reset方式降级flutter版本

@wssgcg1213
Copy link
Member

@yifei8 Windows 暂时还没支持上, 需要先把 libkraken.dll 构建出来

@wssgcg1213
Copy link
Member

目前最新版本 0.10.0 支持到 2.5.x, 一般情况下我们会比 flutter 官方延迟一个版本适配(因为实际使用的人比较少, 且会有一些明显 bug)

实在需要 2.8 的可以用源码的方式切过去跑一下, 但是我们也不清楚会发生什么, 你可能需要有解决这些问题的准备, 经验来说通常不会太复杂

@wssgcg1213 wssgcg1213 added question Further information is requested and removed bug Something isn't working labels Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants