묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
List<Map<String, dynamic>> in type cast 에러가 계속 발생됩니다.
ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'List<Map<String, dynamic>>' in type cast#0 StatRepository.fetchData (package:microdust_study/repository/stat_repository.dart:26:69)<asynchronous suspension>flutter: type 'List<dynamic>' is not a subtype of type 'List<Map<String, dynamic>>' in type cast 이 에러가 똑같이 100% 코딩을 해도 발생합니다.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
무슨 에러인지 모르는 에러가 계속 발생됩니다.
ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'List<Map<String, dynamic>>' in type cast#0 StatRepository.fetchData (package:microdust_study/repository/stat_repository.dart:26:69)<asynchronous suspension>flutter: type 'List<dynamic>' is not a subtype of type 'List<Map<String, dynamic>>' in type cast
-
해결됨Flutter로 SNS 앱 만들기
게시글등록화면_5Firebase Storage에 게시글 이미지 저장
이해가 잘 안돼서 다시 문의 드려요.동영상을 되풀이 해서 봐도 이해가 잘 안돼서요.String feedId = Uuid().v1();feedid는 고유한 아이디 부여하는거고, 아래요 feeds는 폴더인데 .doc(feedid)를 게시글의 feedid를 부여 하는겁니까 // firestore 문서참조DocumentReference<Map<String, dynamic>> feedDocRef =firebaseFirestore.collection('feeds').doc(feedId); 여기서 feedDocRef는 여기서 어느것을 말하는겁니까 잘 이해가 안돼서요.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
안드로이드 스튜디오 코드 하이라이팅하고 자동완성이 안됩니다.
안녕하세요. window 사용자인데 안드로이드 스튜디오에서 main.dart 코드 위젯 하이라이팅과 자동완성이 안됩니다. dart와 flutter plugin은 설치되어 있고 혹시 제가 놓친 또 다른 plugin이 있나요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
실행 오류
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.e: C:/Users/jhp99/.gradle/caches/transforms-3/431ce31617111116ed092b20fb775fda/transformed/jetified-kotlin-stdlib-1.9.0.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.e: C:/Users/jhp99/.gradle/caches/transforms-3/431ce31617111116ed092b20fb775fda/transformed/jetified-kotlin-stdlib-1.9.0.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.e: C:/Users/jhp99/.gradle/caches/transforms-3/431ce31617111116ed092b20fb775fda/transformed/jetified-kotlin-stdlib-1.9.0.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.e: C:/Users/jhp99/.gradle/caches/transforms-3/c321e7444a5c731da2398570d6ef04f1/transformed/jetified-kotlin-stdlib-common-1.9.0.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.FAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':app:compileDebugKotlin'.> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction > Compilation error. See log for more details* Try:> Run with --stacktrace option to get the stack trace.> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 2s┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────┐│ [!] Your project requires a newer version of the Kotlin Gradle plugin. ││ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then ││ update C:\Users\jhp99\AndroidStudioProjects\chool_check\android\build.gradle: ││ ext.kotlin_version = '<latest-version>' │└────────────────────────────────────────────────────────────────────────────────────────────┘Error: Gradle task assembleDebug failed with exit code 1이런 오류가 나는데 chat gpt도 돌려보고 구글링도 해봤지만 안고쳐지네요..ㅠㅠ
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
버튼 스타일링에서 Material State Property는 Depreciated?
depreciated되어 다른걸 사용 권장한다며 단어가 크로스아웃되어 나옵니다. 그래도 사용해야 할까요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
답변) 자동 완성 안되는 이유
가끔 자동 완성이 안되는 이유는,자동 완성을 입력하고자 하는 바로 아랫쪽에 위치한 함수에함수의 반환형이 명시되어 있지 않아서 그런 것 같습니다.
-
해결됨Flutter 앱 개발 기초
shared_preferences 패키지 설치하고나면 새로운 파일이 안생겨요
shared_preferences 패키지 설치하고나면 generated_plugin_registrant.dart 파일이 생긴다고하셨는데 패키지 버전이 올라가면서 이제 안생기는건가요?
-
미해결Flutter로 SNS 앱 만들기
섹션10에서 게시물화면_좋아요 결과를 화면에 반영 캐러셀 컨트롤러에러가 발생했습니다
섹션10에서 게시물화면_좋아요 결과를 화면에 반영캐러셀 컨트롤러에러가 발생했습니다.feed_card_widget에서 에러입니다.안드로이드 스튜디오와 플러터sdk를 업데이트를 했는데 이렇게 나오네요.. 작업파일은 메일로 보내겠습니다.
-
해결됨초보자를 위한 Dart Practice
console Application 예제에서 한글 입력하면 깨지는데..
안녕하세요?아래 코드에서 입력을 한글로 하면 깨지는데 뭔가 설정을 따로 해줘야 하나요?import 'dart:io'; void main(List<String> arguments) { stdout.write("입력해보세요 :"); var inputString = stdin.readLineSync(); stdout.write('입력된 값: $inputString'); }
-
해결됨Flutter로 웹 서비스 개발하기 (1) - Responsive Web
섹션7에서 막혔어요
강의 정주행 도중 섹션7에서 강의 내용이 이어지지 않아서 놀랬는데이미 다른분이 해당 문의 올려주셨네요내일까지 전체 강의 완주하는게 목표입니다.말씀하신대로 오늘까지 꼭 좀 수정 부탁드립니다.
-
미해결[플러터플로우] 실전! 앱 출시를 위한 끝장 노하우!
카카오 로그인 질문
Error: The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section. 강의 내용대로 설정을 마치고 실행을 했더니 위와같은 오류 메시지가 나타납니다.로그인 버튼을 누르면 새창이 열리다가 종료되면서 해당 메시지가 보여집니다.어떤 부분을 더 확인해봐야 할까요?
-
해결됨[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
에뮬레이터 창이 뜨지 않습니다..ㅠㅠ
안녕하세요.강의 잘 듣고 있습니다.^^ 안드로이드 스튜디오 설치부터 막혀서 며칠 째 다시 해보다가 문의 드립니다. ㅠ.ㅠ 두 가지 문의가 있는데, 한번 봐주시면 감사하겠습니다! 첫 번째로, Path 설정을 맞게 한것 같은데 cmd에서 flutter doctor 실행 시, 하기 오류 문구가 계속 뜹니다. 몇번이고 다시 해봤는데 해결이 안됩니다 ㅠㅠ 조언 부탁드립니다. 두 번째로, 에뮬레이터를 실행하면 창이 아예 뜨지 않고 있습니다. 삭제 후 다시 설치해봐도,시스템 언어로 영어로 수정 후 해봐도 안되는데 뭐가 문제일까요? 하기와 같이 작업표시줄에서는 보이는데 전혀 창이 뜨지 않고 있습니다. 해결 방법 알려주시면 감사하겠습니다. 감사합니다.
-
해결됨Flutter 앱 개발 기초
VScode에 내용물이 안보이는 이유가 뭔가요?
<제 화면> <노션에 있는 화면> 질문입니다.vscode로 프로젝트를 생성했는데 노션보고 영상보고 쭉~ 따라왔는데 스크린샷처럼 새로만든 폴더에 내용물이 없습니다. 이건 어떻게 해결해야할까요?익스텐션에 Flutter, Dart 다 깔려있는 상태입니다.
-
해결됨Flutter 앱 개발 실전
공부 방법에 대한 문의 입니다~
강의 너무 잘듣고있습니다 처음 구매했던 "Flutter 앱 개발 기초"의 경우 무리없이 강의를 이해 하였으나 이번에 구매한 "Flutter 앱 개발 실전" 의 경우, 아직까지는 강의를 이해하는데 속도가 더딘편입니다~ 이럴경우 어떻게 학습하는게 좋을까요~ 해당 강의가 실제 1인 앱개발을 진행함에 있어. 반드시 디테일 하게 학습해야하는 부분인지 아니면 이런것 정도가 있더라~ 정도로 익히고 적응하는 정도의 시각으로 공부해야하는지 궁금합니다~ 전반적인 학습방법에 대한 요령좀 알려주시면 대단히 감사하겠습니다!
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
섹션 26의 플러그인 설치 부분에서 에러가 납니다.
FAILURE: Build failed with an exception.* What went wrong:A problem occurred configuring project ':agora_rtm'.> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace. If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.* Try:> Run with --stacktrace option to get the stack trace.> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.> Get more help at https://help.gradle.org.BUILD FAILED in 687msError: Gradle task assembleDebug failed with exit code 1라는 에러가 발생하네요. macOS를 sequoia로 올려서 그럴까요?
-
해결됨Flutter 앱 개발 기초
스샷처럼 취소선이 왜 생기나요?
강의중에 궁금한게있습니다.이렇게 파라미터 안에 값이 MaterialStateProperty이렇게 되는 이유가 뭔가요? 어쩔때 취소선이 쫙~ 그어지나요?그리고 코드에는 어떤 영향을 주나요?궁금합니다.
-
해결됨Flutter로 웹 서비스 개발하기 (1) - Responsive Web
섹션7에 portfolio_screen_dart에서 header와 footer가 붙는 현상 있습니다.
강의에서는, Container를 OverflowBox 위젯으로 감싸고, 또 그걸 SizedBox위젯으로 감싸라고 하셨습니다. 하지만, header와 footer가 붙는 현상이 생깁니다. OverflowBox와 SizedBox 위젯을 remove하니 붙는 현상은 사라졌지만, 음영 선이 짧아졌습니다.
-
해결됨Flutter로 웹 서비스 개발하기 (1) - Responsive Web
섹션 7, 포트폴리오 화면작업과 상세 화면 작업 사이에 강의가 한개 빠진것 같습니다. 확인부탁바래요.
포트폴리오 화면 작업 수업에서 포트폴리오 상세 화면 작업 수업로 바로 갔는데, onTap : () 부분이나 routePage.dart의 여러부분이 갑자기 추가되어 있어요.
-
해결됨Flutter로 웹 서비스 개발하기 (1) - Responsive Web
ctrl+f 기능 관련해서
안녕하세요, 그래도 플러터 웹으로 만들면 괜찮을 것 같아서 강의 구매후에 문의드립니다. 혹시나, 만드신 웹 사이트에서는, ctrl+f 기능이 어느정도 되는 것 같습니다. 근데, 강의 하신 강의 github 올려주신 것을 클론해서, 단순하게 크롬에서 실행해보니 작동되지 않습니다. 혹시나, aws 환경에서는 작동을 하는 건가요? 아니면 새로운 library 기능이 사용이 된 것 일까요? 만약 사용이 되셨으면, flutter에서, js파일을, Index.html에 넣어서 검색기능을 구현하신 걸까요? 감사합니다!