묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨Flutter 앱 개발 기초
ios 에뮬 실행이 안됩니다.
Mac(M2) 에서 수업 듣고 있습니다.ios 에뮬 실행시키려하는 데, 아래 이미지와 같이 오류가 뜨고 에뮬이 실행되지 않습니다.이것 저것 해보았는 데, 무엇이 문제인지 몰라서 해당 챕터에서 진도를 나가지 못하고 있습니다.*Android 에뮬은 실행됩니다.+터미널에서 flutter doctor 명령어 입력했을 때,문제는 없는 것 처럼? 나옵니다.
-
해결됨Flutter 앱 개발 기초
에뮬레이터 실행이 안됩니다.
이미지와 같이 Debug console 영역에 안내문구가 나옵니다.구글이랑 여러가지 서치해도 다 안되어서 질문드려요!
-
해결됨[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
웹뷰 패키지 오류
그 전에는 이런 일이 없었는데 요번 프로젝트에서 이 에러가 떠서 진행하지 못하고 있습니다.제가 시도 해본 것들JDK21 설치 (환경 변수 설정까지)JDK17설치 (환경 변수 설정까지)flutter clean, flutter pub getAPI 34, 35 둘 다 실행, 다른 프로젝트에서는 변함없이 잘 됩니다.FAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':webview_flutter_android:compileDebugJavaWithJavac'.> Could not resolve all files for configuration ':webview_flutter_android:androidJdkImage'. > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for JdkImageTransform: C:\Users\82106\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar. > Error while executing process C:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\82106\.gradle\caches\transforms-3\fb247f22548bfd545efa0cbc10d96775\transformed\output\temp\jmod --add-modules java.base --output C:\Users\82106\.gradle\caches\transforms-3\fb247f22548bfd545efa0cbc10d96775\transformed\output\jdkImage --disable-plugin system-modules}* 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 28s┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐│ [!] This is likely due to a known bug in Android Gradle Plugin (AGP) versions less than 8.2.1, ││ when ││ 1. setting a value for SourceCompatibility and ││ 2. using Java 21 or above. ││ To fix this error, please upgrade your AGP version to at least 8.2.1. The version of AGP that ││ your project uses is likely defined in: ││ C:\Users\82106\webview\android\settings.gradle, ││ in the 'plugins' closure (by the number following "com.android.application"). ││ Alternatively, if your project was created with an older version of the templates, it is likely ││ in the buildscript.dependencies closure of the top-level build.gradle: ││ C:\Users\82106\webview\android\build.gradle, ││ as the number following "com.android.tools.build:gradle:". ││ ││ For more information, see: ││ https://issuetracker.google.com/issues/294137077 ││ https://github.com/flutter/flutter/issues/156304 │└──────────────────────────────────────────────────────────────────────────────────────────────────┘Error: Gradle task assembleDebug failed with exit code 1
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
웹뷰 패키지 오류
그 전에는 이런 일이 없었는데 요번 프로젝트에서 이 에러가 떠서 진행하지 못하고 있습니다.제가 시도 해본 것들JDK21 설치 (환경 변수 설정까지)JDK17설치 (환경 변수 설정까지)flutter clean, flutter pub getAPI 34, 35 둘 다 실행, 다른 프로젝트에서는 변함없이 잘 됩니다.FAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':webview_flutter_android:compileDebugJavaWithJavac'.> Could not resolve all files for configuration ':webview_flutter_android:androidJdkImage'. > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for JdkImageTransform: C:\Users\82106\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar. > Error while executing process C:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\82106\.gradle\caches\transforms-3\fb247f22548bfd545efa0cbc10d96775\transformed\output\temp\jmod --add-modules java.base --output C:\Users\82106\.gradle\caches\transforms-3\fb247f22548bfd545efa0cbc10d96775\transformed\output\jdkImage --disable-plugin system-modules}* 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 28s┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐│ [!] This is likely due to a known bug in Android Gradle Plugin (AGP) versions less than 8.2.1, ││ when ││ 1. setting a value for SourceCompatibility and ││ 2. using Java 21 or above. ││ To fix this error, please upgrade your AGP version to at least 8.2.1. The version of AGP that ││ your project uses is likely defined in: ││ C:\Users\82106\webview\android\settings.gradle, ││ in the 'plugins' closure (by the number following "com.android.application"). ││ Alternatively, if your project was created with an older version of the templates, it is likely ││ in the buildscript.dependencies closure of the top-level build.gradle: ││ C:\Users\82106\webview\android\build.gradle, ││ as the number following "com.android.tools.build:gradle:". ││ ││ For more information, see: ││ https://issuetracker.google.com/issues/294137077 ││ https://github.com/flutter/flutter/issues/156304 │└──────────────────────────────────────────────────────────────────────────────────────────────────┘Error: Gradle task assembleDebug failed with exit code 1
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
이 오류 멀까요 ㅜ
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
해결됨Flutter 앱 개발 실전
riverpod 프로젝트에 궁금한점이 있어 질문 남깁니다.
riverpod이 적용된 프로젝트에서 SettingBottomSheet의 언어변경 Tile위젯을 클릭하여 언어 변경시 bottomSheet는 리빌드 되지않는 현상이 있습니다!해당 위젯에서 langServiceProvider를 watch하지 않고 notifier를 watch해서 생기는 문제로 생각되는데 맞는지 궁금합니다.해결방법으로subTitle: ref.watch(langServiceProvider).languageCode == 'ko' ? S.current.ko : S.current.en, onPressed: ref.read(langServiceProvider.notifier).toogleLang,이런식으로 처리 했는데 이것도 괜찮은 방법인지 궁금합니다.또한 bottomSheet가 아닌 부분은 왜 리빌드가 되는지도 궁금합니다!
-
미해결Flutter 고급 - 현업 수준의 아키텍처
31강 stream 활용시 어떤장점이 있나요?
북마크를 future 대비 stream으로 할 때 장점이 (자세하게) 궁금합니다.감사합니다.
-
미해결[2025 리뉴얼]플러터플로우로 코딩 없이 한달 안에 앱 만들기
트윗 나열해보기 (FireStore + ListView) 오류 문의
안녕하세요 강사님 현재 트윗 나열해보기 (FireStore + ListView)를 따라하고 있습니다. firebase의 firestore의 post를 생성하니 post와 users가 생성되는데 현재 users는 삭제가 불가능하고, users를 삭제하면 post만 남는 현상이 발생됩니다. 특히 firestore settings에 들어가보면 users collection에 모든 설정 값이 빈칸으로 나와있으며, 이것때문에 오류가 발생하는 것 같습니다. 웹/데스크톱 설치용 앱 둘다 모두 동일한 증상이 나오고 있습니다. 혹시 제가 직접 수동으로 firestore를 생성하면 이 문제가 해별될까요?
-
미해결[코드팩토리] [입문] Dart 언어 4시간만에 완전정복
Set 인덱스 접근 질문입니다
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요! 강의 잘 듣고 있습니다 ㅎㅎ다름이 아니라 Set에 대해서 추가적으로 공부하고 있는데 Set은 순서가 없는 타입이라 인덱스로 접근이 불가능하다고 알고 있습니다 근데 아래 코드를 보면출처 https://aidenarea.tistory.com/entry/Dart-Set-%EC%B4%9D%EC%A0%95%EB%A6%ACSet set1 = {'value1', 'value2', 'value3', 'value4'}; print(set1.elementAt(0)); // value1인덱스를 통해 값을 가져오는 방법을 소개하고 있습니다이건 어떻게 가능한 건지 알려주시면 감사하겠습니다!
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
소스코드 위젯 구분
왜 저는 위젯들에서 트리처럼 코드에 구분이 되지 않을까요 ?... [코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결[Bloc 응용] 실전 앱 만들기 (책 리뷰 앱) : SNS 로그인, Firebase 적용, Bloc 상태 관리, GoRouter
혹시 웹에서 디버깅하시는분들은
https://openapi.naver.com/v1/search/book.jsonDioException [connection error]: The connection errored: The XMLHttpRequest onError callback was called. This typically indicates an error on the network layer. This indicates an error which most likely cannot be solved by the library. 이런에러가 뜨는데 flutter run -d chrome --web-browser-flag --disable-web-securitycors 우회하셔야 합니다 혹은 .vscode 폴더안에 launch.json 을 생성하셔야하는데 vscode 기준으로 왼쪽에 디버깅 들어가셔서 아래처럼 생성하시면됩니다 { // IntelliSense를 사용하여 가능한 특성에 대해 알아보세요. // 기존 특성에 대한 설명을 보려면 가리킵니다. // 자세한 내용을 보려면 https://go.microsoft.com/fwlink/?linkid=830387을(를) 방문하세요. "version": "0.2.0", "configurations": [ { "name": "bookreview", "request": "launch", "type": "dart", "args": [ "--web-browser-flag=--disable-web-security" ] } ] }다들 아시겠지만 혹시나해서 남겨봅니다
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
isar사용 중 오류
Isar사용 중 아래와 같은 오류가 발생합니다. 어떻게 해결할 수 있을까요? 알려주시면 감사하겠습니다. Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...Running Gradle task 'assembleDebug'...FAILURE: Build failed with an exception.* What went wrong:A problem occurred configuring project ':isar_flutter_libs'.> 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 912msError: Gradle task assembleDebug failed with exit code 1
-
미해결처음하는 플러터(Flutter) 기초부터 실전까지 [풀스택 Part4] (쉽고 견고하게 단계별로 다양한 프로젝트까지)
강의할때 쓰이는 문서는 어디서 확인할 수 있나욧?
강의에서 쓰이는 문서는 어디서 받아볼 수 있나요?강의해서 쓰이는 파일이 아래와 같은 이름으로 되어 있는 것 같은데요~05_BASIC_WIDGETS.md- 강의 영상에 대한 질문이 있으시면, 주말/휴일 제외, 2~3일 내에 답변드립니다 - 강의 답변이 도움이 안되셨다면, dream@fun-coding.org 로 메일 주시면 재검토하겠습니다.- 괜찮으시면 질문전에 챗GPT 와 구글 검색을 꼭 활용해보세요~
-
해결됨Flutter 앱 개발 기초
동기.. 비동기? 쓰는 상황에 대한 추가 질문
강사님 dart에서 비동기를 동기로 다루는 법 강의 7분 20초 쯤에 개발 시 비동기 방식으로 작동하는 상황들로 예시를 "네트워크 요청, 파일읽기쓰기, 데이터베이스 쓰기"를 들어주셨는데 이렇게 시간이 걸리는 일은 async / await 을 써서 동기 방식으로 이용하란 말씀이신거죠?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
dart.exe의 작동이 중지되었습니다 라고 에러가 뜨네요
강의내용으로 순서따라서 진행했습니다.참고로 새로 윈도우설치했습니다dart.exe의 작동이 중지되었습니다 라고 에러가 뜨네요 다시 실행하면 다음과 같이 나와요.( flutter doctor --android-licenses)이후 flutter doctor에서 버그라 생각하고 실행시켰으나 에러발생했습니다. 여전히 flutter doctor --android-licenses을 하면dart.exe의 작동이 중지되었습니다 라고 뜨네요.
-
해결됨[2025 리뉴얼]플러터플로우로 코딩 없이 한달 안에 앱 만들기
포스트 유저 컬렉션 만들고나서 오류 . .
플러터플로우 관련 질문글을 자유롭게 작성해 주세요!문제가 발생하는 환경을 자세히 적어줄수록 좋아요위의 사진을 보시면 자꾸 저런식으로 경고가 뜨는데 어떻게해결해야할지 모르겠내요 진도가 더이상 나갈 수가 업습니다 ㅜ run버튼을 누르면 저 오류를 해결하지않으면 run이 안된다고 하내요
-
미해결Flutter 고급 - 현업 수준의 아키텍처
view model 은 팩토리로 생성하는 이유
23강의 5:10에서 usecase,repository 는 싱글톤으로 만들고, viewmodel은 팩토리로 만드는 것이 일반적이라고 하셨습니다.싱글톤으로 만드는 것은 이해했는데, 팩토리를 사용하는 이유는 무엇일까요? viewModel 안의 state 의 내용이 UI 의 데이터로 채워지고, viewModel 안의 state 는 가변적이니 싱글턴으로 하는게 맞지 않을까라는 생각이 갑자기 들어서요. viewModel을 다시 만드는 것이 어떤 경우가 있는지 궁금합니다. 강의항상 재밌게 듣고 있습니다. 감사합니다.
-
미해결[코드팩토리] [입문] Dart 언어 4시간만에 완전정복
void 궁금한점이 있습니다!
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. void 설명 부분에서 addNumbers 에 int선언하기전 void가 사실 생략되어있다고 하셨는데 그럼 두번째 사진에서의 addNumbers 함수는 실행되어야하는거 아닌가 의문이 듭니다~
-
미해결Flutter 고급 - 현업 수준의 아키텍처
domain 에 data_source 를 만드는 이유.
강의 항상 잘 듣고 있습니다.질문이 하나 생겨서 여쭤봅니다.20강 30~33분 정도에서 domain 폴더에 data_source 폴더를 만드시는 이유를 다시 설명해주실 수 있을까요? 아래는 제가 생각하는 부분입니다. data/ 의 data/data_source/ 는 data/repository/ 에서 사용하는 부분임.domain/ 은 사실상 data/data_source/ 를 직접 접근하지 않고 domain/repository 를 활용하는 domain/use_case 를 통해 접근함.이렇게 생각이 들다보니, "domain 에서 data_source 의 인터페이스를 정의하는 것이 맞는건가?" 생각이 듭니다. 감사합니다.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
컴퓨터 멈춤 현상
안녕하세요 선생님 test_proj 처음 만들고 에뮬레이터 실행 후 프로젝트 실행했을 때 자꾸 이부분에서 노트북이 아예 멈춥니다. 키보드랑 마우스로 작동이 하나도 안돼서 지금 재시작한지 4번째입니다. 위 사진에서 늘 멈추는 현상이 발생하는데 해결이 가능할지 문의드립니다. ㅠ 참고로 제 노트북 사양입니다. 이렇게 사양 메모리도 변경해봤는데 마찬가지입니다 ㅠㅠ