본문 바로가기
프로그래밍

플러터 파이어베이스 연동 Missing google_app_id.

by 그레이 후드 2025. 5. 7.
728x90

에러 메시지

파이어베이스 연동하는 방법에 따라, 로그 이벤트를 호출하고, 이벤트 처리 코드를 작성했다.

그런데 에뮬레이터로 실행시키니, 다음과 같은 에러가 발생했다.

 

(5153) Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI

 

파이어베이스 로그인도 되어있고, 에뮬레이터에 구글 로그인도 되어 있었다.

문제가 뭘까 생각하다가 검색을 했더니 다음과 같은 글을 찾을 수 있었다.

https://stackoverflow.com/questions/71896302/flutter-missing-google-app-id-firebase-analytics-disabled

 

android/build.gradle 파일에서 dependencies 부분에

classpath 'com.google.gms:google-services:4.4.2' 를 추가하고,

 

android/app/build.grade 파일에 plugin 을 추가했다.

apply plugin: 'com.google.gms.google-services'

 

 

그랬더니 에러는

(6586): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI

 

이렇게 바뀌었다. 5153 에서 6586으로 바뀜.