~~NOCACHE~~ ## 1.Firebaseにプロジェクトとアプリケーションを登録 Googleアカウントを取得している前提で記載します。 ### プロジェクトの作成 [[https://console.firebase.google.com/|公式]]にアクセスして以下手順を実行します。 ①プロジェクトの作成 {{:InfrastructureConstruction:Google:pasted:20230114-232441.png?direct 600x0}} ②プロジェクトの名前を入力して続行 {{:InfrastructureConstruction:Google:pasted:20230114-232740.png?direct 600x0}} ③プロジェクトの作成をクリック {{:InfrastructureConstruction:Google:pasted:20230114-233307.png?direct 600x0}} ④新しいプロジェクトができました。 {{:InfrastructureConstruction:Google:pasted:20230114-233755.png?direct 600x0}} ⑤Firebaseプロジェクトが作成されます。 {{:InfrastructureConstruction:Google:pasted:20230114-234241.png?direct 600x0}} ### アプリケーションの作成 ①Androidアイコンをクリックします。 {{:InfrastructureConstruction:Google:pasted:20230115-001221.png?direct 600x0}} ②Androidパッケージ名を入力して「アプリの登録」をクリック ※パッケージ名はAndroidStudioでも利用します。 {{:InfrastructureConstruction:Google:pasted:20230115-001711.png?direct 600x0}} ③「google-services.json」をダウンロードし「次へ」をクリック ※google-services.jsonはAndroidStudioでも利用します。 {{:InfrastructureConstruction:Google:pasted:20230115-002114.png?direct 600x0}} ④「Firebase SDK の追加」で「次へ」をクリックし、「次のステップ」で「コンソールへ進む」をクリックします。 ⑤アプリケーションが作成されます。 {{tag>Google Firebase}}