Skip to content

Is it accessible to run on the web? #3

@tsuiwade

Description

@tsuiwade

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions