-
Notifications
You must be signed in to change notification settings - Fork 87
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
Dart library 'dart:ui' is not available on this platform #375
Comments
I believe the issue here is that the plugin checks the root
For now, the simplest workaround is to manually navigate to the |
Your running dart-only package example should work if you add require("flutter-tools").setup_project({
{
name = "Run example",
target = "lib/main.dart",
cwd = "example",
},
}) |
Is there an existing issue for this?
Current Behavior
When I develop a package and try to run example/lib/main.dart I get the following pack of errors:
Output
My config
It happens on iOS only.
Android works well.
If run the same launch.json from VSCode it works perfect on both iOS/Android.
Also debugging works good if I
cd
intoexample
and run it right from there. Or when I run a flutter standart project (not a package)I DID try to
flutter clean
,flutter pub cache repair
etc. No luck.flutter doctor
Expected Behavior
I expect it to work
Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: