게시글
질문&답변
2020.01.10
firebase 연동 후 빌드시 에러가 납니다.
저도 바로 윗질문하신 분과 같은 에러가 뜨네요ㅠㅠ Compiler message: lib/login_page.dart:41:25: Error: A value of type 'AuthResult' can't be assigned to a variable of type 'FirebaseUser'. - 'AuthResult' is from 'package:firebase_auth/firebase_auth.dart' ('/C:/Users/%ED%99%8D%EC%8A%B9%ED%98%B8/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_auth-0.15.3+1/lib/firebase_auth.dart'). - 'FirebaseUser' is from 'package:firebase_auth/firebase_auth.dart' ('/C:/Users/%ED%99%8D%EC%8A%B9%ED%98%B8/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/firebase_auth-0.15.3+1/lib/firebase_auth.dart'). FirebaseUser user = await _auth.signInWithCredential( ^ Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed. FAILURE: Build failed with an exception. 이런 에러가 뜨네요ㅠㅠ
- 0
- 6
- 1.1K
질문&답변
2020.01.10
image_picker 라이브러리 관련 버젼이슈가 있습니다.
제가 flutter sdk 폴더의 .git 파일을 지워버려서 생긴 이슈였습니다! 해결됐습니다ㅠㅠ
- 0
- 7
- 596
질문&답변
2020.01.10
image_picker 라이브러리 관련 버젼이슈가 있습니다.
The current Flutter SDK version is 0.0.0-unknown. Because flutter_oh depends on image_picker >=0.3.0 which requires Flutter SDK version >=0.1.4 Running "flutter pub get" in flutter_oh... pub get failed (1; Because flutter_oh depends on image_picker >=0.3.0 which requires Flutter SDK version >=0.1.4 깃허브주소를 참고하여 다시 해봤는데 계속해서 이런식의 에러만 뜨네요ㅠㅠ 우선 홀딩하고 다른 강의부터 우선적으로 들어보겠습니다! 답변감사합니다!
- 0
- 7
- 596
질문&답변
2020.01.10
image_picker 라이브러리 관련 버젼이슈가 있습니다.
현재 이미지 피커 버전은 최신( 0.6.3 -> 1월8일 배포)이구요 확인해보니 environment : sdk : ">=2.1.0 sdk 버전이 이렇게 되있더라구요. 그래서 environment : sdk : ">=1.1.0 이렇게 바꾸고 flutter doctor 실행 후 다시 packages get을 해보았는데 여전히 같은 이슈가 뜨네요ㅠㅠ 휴가중에 답변주셔서 감사합니다!
- 0
- 7
- 596