Open1

Flutter環境構築2024版

ピン留めされたアイテム
ロニロニ

MAC
導入順番(Android)
1:rosetta2を導入する(アプリケーションがユニバーサルなら導入の必要なし)
2: Xcodeの導入
3:Android studioの導入
4:git(brew)の導入
5:VScode or PCからSDKの導入

flutter doctorコマンドで確認できた未インストールとライセンスの署名作業
6-1:Android studio Hardware - GLES 2.0変更対応(https://qiita.com/tru-y/items/c4ce737d41b06ce55dce)
6-2:3-2:Android SDK コマンドライン ツールなどインストール方法 しないとflutter doctor時にエラーが出る
(https://qiita.com/ch0c0bana0/items/36ea0fb9d6857f6dac5e)
7:flutter doctorコマンドでAndoroid欄に「Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses」のエラー分が出た場合(https://taro3se.com/p/826)
原因はflutterライセンスの未承認のため
8:Xcode未インストールのインストール作業(https://zenn.dev/imasaka0909/articles/c25de921e17984)(https://qiita.com/kobe_creation/items/0f225732d3bb62694563)(https://qiita.com/U_Yuki/items/d9318214088d7f9925fd)
9:Ruby導入手順(https://qiita.com/kiharito/items/240911cc43bb9a1f4356)
10cocoapadsインストール(https://zenn.dev/frank0921iosdev/articles/flutter_set_up_tips)(https://qiita.com/nishina555/items/63ebd4a508a09c481150)
作業で使うツール(https://zenn.dev/flyingbarbarian/articles/8253b3a2b42e6c)

導入順番(web・PC)
1:git(brew)の導入
2:VScode or PCからSDKの導入

導入順番(IOS)
1:rosetta2を導入する(アプリケーションがユニバーサルなら導入の必要なし)
2: Xcodeの導入
3:git(brew)の導入
4:VScode or PCからSDKの導入

備考
パッチが重複している場合(https://qiita.com/benzene/items/865506483377ad4128ee)
rbenvのバージョンアップ:rbenvが既に入っている場合(https://qiita.com/arashida/items/689e91389235c25088a5)
IOSシュミレーターでsampleアプリが立ち上がらない場合(https://qiita.com/kilohii/items/74cb21897d477ba08ec0)
VScodeでflutterの新しいプロジェクトを立ち上げ方(https://dtpscriptin.com/vscode-newflutter-exec/)