flutterfire configure 에러
An error occured on the Firebase CLI when attempting to run a command.
1. 해당 OS에서 자동 설치 스크립트 실행
https://firebase.google.com/docs/cli#sign-in-test-cli
Firebase CLI 참조 | Firebase 문서
FirebaseVisionOnDeviceAutoMLImageLabelerOptions
firebase.google.com
2. firebase login
- Allow Firebase to collect CLI and Emulator Suite usage and error reporting information?
이란 문구가 나오면 Y를 누르면 localhost:9005에 구글 계정 로그인 창이 나오는데 로그인을 해주면 된다.
3. flutterfire configure
3-1. Select a Firebase project to configure your Flutter application with
- Firebase project에서 자신의 application을 선택해준다. (아직 application이 없다면 새로 생성해주면 된다.)
3-2. Which platforms should your configuration support (use arrow keys & space to select)?
- 플랫폼을 선택하라고 하는데 flutter에서는 자동으로 android, ios가 지정되어 있다.
4. 완료
'Flutter > Flutter Error' 카테고리의 다른 글
[Flutter] new_version Unhandled Exception: RangeError (0) | 2022.10.21 |
---|