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

Is it accessible to run on the web? #3

Open
tsuiwade opened this issue Apr 29, 2021 · 2 comments
Open

Is it accessible to run on the web? #3

tsuiwade opened this issue Apr 29, 2021 · 2 comments

Comments

@tsuiwade
Copy link

Nice contribution!
Thank you!

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.
@tsuiwade
Copy link
Author

tsuiwade commented May 6, 2021

I can run it on web, but only shows N/A....

@danieldai
Copy link
Owner

@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.

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