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

サンプルプロジェクト起動時にNo supported devices connected. が表示される #2

Open
kyogom opened this issue Jan 2, 2023 · 0 comments

Comments

@kyogom
Copy link

kyogom commented Jan 2, 2023

詰まったので一応起票いたします 🙇
自己解決しているため、確認次第closeして問題ないです。

再現手順と事象

layout_samples git:(main) % flutter run

No supported devices connected.
The following devices were found, but are not supported by this project:
macOS (desktop) • macos  • darwin-arm64   • macOS 12.6 21G115 darwin-arm (Rosetta)
Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124
If you would like your app to run on macos or web, consider running `flutter create .` to generate projects for these platforms.

問題

サンプルコードの一部は、モバイルデバイスしか対応してないため、エミュレーターの起動が必須になる

解決方法

下記のエミュレーターを起動するコマンドを実行することで解決した
flutter emulators --launch apple_ios_simulator

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

1 participant