0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【Flutter】プロジェクトを新規作成する方法

Posted at

概要

Android StudioでFlutterのプロジェクトを新たに作成する方法と作成後、仮想デバイス上で実行する方法を記します。

前提

手順

プロジェクト作成

  1. File > New > New Flutter Project

image.png

  1. Flutter Application を選択してNext

image.png

  1. プロジェクトの名前やSDKのパスを設定してNext

colec [C__Users_mibu1_colec-mobile_flutter_colec] - ..._lib_component_collection_list_elem.dart [colec] - Android Studio 2020_10_17 17_58_03.png

  1. パッケージ名(com.example.appのような形式が一般的)を入力してFinish

colec [C__Users_mibu1_colec-mobile_flutter_colec] - ..._lib_component_collection_list_elem.dart [colec] - Android Studio 2020_10_17 18_01_14.png

仮想デバイスで動作確認

  1. 画面右上のAVD Managerのアイコンをクリック

image.png

  1. 仮想デバイスのリストが表示されるので、Actionsのをクリック

image.png

※仮想デバイスが作成されていない場合は、Create vertual Deviceをクリックして仮想デバイスを追加します。

  1. 仮想デバイスが起動したら、画面上部の実行するデバイスとエントリーポイント(main.dart)を指定してをクリック

image.png

  1. 仮想デバイス上でアプリが起動します!

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?