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
[web]: Document how to do flutter development on chromeos #72982
Comments
Try to run |
Thank you for the response @wzslr321 , but there's no device named
|
I am actually facing exact same problem on archlinux than, I have got exactly the same error log with no devices found because I do not see a webserver in flutter devices either, so I wish to get help too. |
Hey @ghchinoy , I fixed it on archlinux by adding execute permissions for google chrome to every user and resetting CHROME_EXECUTABLE environment variable, now I am able to run it using |
On a chromebook to run flutter for web development I found it best to install Chromium browser from Crostini (Linux Beta); Everything works fine thereafter including development with Android Studio |
Thanks, with additional install of chromium on crostini on ChromeOS, a This does put a lot of stress on the underlying cpu and I was hoping for a more integrated approach in the future (either via flag, lacros, etc.) that didn't result in having to install Chromium in a container in ChromeOS. |
I agree with the comment above. This is definitely a sub-optimal solution. Having to install a separate Chromium instance is going to bog down the CPU unnecessarily. What's strange is it worked with |
|
This is a good issue. Adding some suggestions for a path forward, along with formally documenting the current workaround, in #121462. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Unable to run
flutter run
or see web or chrome devicesChrome OS / pixelbook 2017 / Version 88.0.4324.37 (Official Build) beta (64-bit)
flutter doctor
/flutter devices
does not have web-server or chrome targets for building an app. While I can doflutter build web
and appropriate artifacts are generated in the app'sbuild/web
directory, this is suboptimal.My main objective is do develop flutter web apps on ChromeOS.
Followed install steps. Unclear what steps are needed to reset environment or which steps I may have missed to have a more complete flutter development experience (i.e.
flutter run
and IDE integration).flutter doctor -v
Flutter config does have
--enable-web
The text was updated successfully, but these errors were encountered: