You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
README 페이지를 보고 따라했는데 잘 안되시나요?
아래 방법을 참고하여 다시 한번 시도해 보세요.
작업 환경 구성
기본적인 flutter 개발 환경 셋팅이 되어 있어야 합니다. flutter doctor 커맨드 입력시 모든 항목에 체크가 된다면 다음으로 환경 셋팅 완료입니다.
프로젝트 레포지토리를 클론 후 안드로이드 스튜디오에서 프로젝트 폴더를 열어주세요.
flutter create . 프로젝트 터미널에서 명령어 실행
-> 해당 커맨드 입력시 생성되는 android/app 경로에 google-services.json 파일을 넣어 주고, ios/Runner 경로에는 GoogleService-Info.plist 파일을 넣어 줍니다.
google service 파일을 다운 받는 위치 https://console.firebase.google.com/
a. 파이어베이스 콘솔에서 blueberryTemplate-2024-Summer 프로젝트 선택
b. 좌측상단의 '프로젝트 개요' 옆 톱니바퀴 아이콘 클릭 -> '프로젝트 설정'
c. 프로젝트 설정 내 '일반' 탭에서 아래로 스크롤 후 '내 앱' 에서 패키지 이름(android)과 번들ID(ios)과 아래와 같은 파일을 찾습니다.
Android 패키지이름 : com.blueberry.template
IOS 번들ID : com.example.blueberryTemplate
d. 해당 앱 클릭 후 SDK안내 보기 옆 google service 이름의 파일을 android, ios 각각 다운로드 한 후 프로젝트 내 각각의 경로에 위치시켜 줍니다. (작업환경구성 2 참고)
flutter pub get (종속성 라이브러리 설치)
flutter pub run build_runner build --delete-conflicting-outputs (코드 제너레이터에 의한 필요한 파일 생성 1)
fluttergen (코드 제너레이터에 의한 필요한 파일 생성2)
-> 안 될 경우 fluttergen 을 설치 커맨드 : dart pub global activate flutter_gen
flutterfire configure --project=blueberrytemplate-2024-summer (파이어베이스 프로젝트에 연결, firebase_options.dart 에러를 해결합니다)
-> 안 될 경우 flutterfire 설치 커맨드: dart pub global activate flutterfire_cli
에뮬레이터 실행 후 flutter run (프로젝트 빌드 및 디버그 모드로 실행)
발생 할 수 있는 에러
firebase 버전업 후 최소 sdk 버전과 최소 ios 버전을 높여달라는 에러가 나올 수 있습니다.
android/build.gradle 파일 내 minSDK = 23 으로 설정
ios/Podfile 파일 내 ios = 13 으로 설정
The text was updated successfully, but these errors were encountered:
추가 정보
README 페이지를 보고 따라했는데 잘 안되시나요?
아래 방법을 참고하여 다시 한번 시도해 보세요.
작업 환경 구성
기본적인 flutter 개발 환경 셋팅이 되어 있어야 합니다.
flutter doctor
커맨드 입력시 모든 항목에 체크가 된다면 다음으로 환경 셋팅 완료입니다.프로젝트 레포지토리를 클론 후 안드로이드 스튜디오에서 프로젝트 폴더를 열어주세요.
flutter create .
프로젝트 터미널에서 명령어 실행-> 해당 커맨드 입력시 생성되는 android/app 경로에 google-services.json 파일을 넣어 주고, ios/Runner 경로에는 GoogleService-Info.plist 파일을 넣어 줍니다.
flutter pub get
(종속성 라이브러리 설치)flutter pub run build_runner build --delete-conflicting-outputs
(코드 제너레이터에 의한 필요한 파일 생성 1)fluttergen
(코드 제너레이터에 의한 필요한 파일 생성2)-> 안 될 경우 fluttergen 을 설치 커맨드 :
dart pub global activate flutter_gen
flutterfire configure --project=blueberrytemplate-2024-summer
(파이어베이스 프로젝트에 연결, firebase_options.dart 에러를 해결합니다)-> 안 될 경우 flutterfire 설치 커맨드:
dart pub global activate flutterfire_cli
flutter run
(프로젝트 빌드 및 디버그 모드로 실행)발생 할 수 있는 에러
firebase 버전업 후 최소 sdk 버전과 최소 ios 버전을 높여달라는 에러가 나올 수 있습니다.
The text was updated successfully, but these errors were encountered: