You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to flutter, and want to know how to run the project on the web?
My environment :
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 2.3.0-1.0.pre.168, on Microsoft Windows [Version 10.0.19041.928], locale zh-CN)
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[√] Chrome - develop for the web
[!] Android Studio (not installed)
[√] VS Code, 64-bit edition (version 1.55.0)
[√] Connected device (2 available)
! Doctor found issues in 2 categories.
When I input flutter run :
No supported devices connected.
The following devices were found, but are not supported by this project:
Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
Edge (web) • edge • web-javascript • Microsoft Edge 89.0.774.68
If you would like your app to run on web, consider running `flutter create .` to generate projects for these platforms.
When I input flutter creat . :
"OpenWeatherPlus-Flutter" is not a valid Dart package name.
See https://dart.dev/tools/pub/pubspec#name for more information.
The text was updated successfully, but these errors were encountered:
@tsuiwade Hi,thanks for your information. This project was created before flutter web released to the stable channel. So it not compatible with web. PR is welcome to make it running in web enviroment.
Nice contribution!
Thank you!
I'm new to flutter, and want to know how to run the project on the web?
My environment :
When I input
flutter run
:When I input
flutter creat .
:The text was updated successfully, but these errors were encountered: