묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
안드로이드 스튜디오에서 초록색 버튼이 안보입니다.
Android Emulator 세팅하기 강의 6분 34초에서 안드로이드 스튜디오 오른쪽 위에 초록색 버튼이 있다고 했는데, 회색 버튼만 있고, device 선택 창도 없습니다. 어떻게 해야 할까요? 코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결Flutter로 만드는 LLM 챗봇 (feat. Gemini)
에러가 생겨서
소스대로 했는데에러가 생기네요78, 79 번째줄 text 에서 에러입니다.에러 메세지는 Running Gradle task 'assembleDebug'... lib/chat_page.dart:78:63: Error: The getter 'text' isn't defined for the class 'Part'. - 'Part' is from 'package:flutter_gemini/src/models/part/part.dart' ('/C:/Users/userpc/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_gemini-3.0.0/lib/src/models/part/part.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'text'. ? HumanMessage(content: chat.parts?.first.text ?? '') ^^^^ lib/chat_page.dart:79:60: Error: The getter 'text' isn't defined for the class 'Part'. - 'Part' is from 'package:flutter_gemini/src/models/part/part.dart' ('/C:/Users/userpc/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_gemini-3.0.0/lib/src/models/part/part.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'text'. : AIMessage(content: chat.parts?.first.text ?? ''); ^^^^ Target kernel_snapshot failed: Exception FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1 * 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 4s Exception: Gradle task assembleDebug failed with exit code 1 혹시25, 34 번째줄 Parts 에 안쓴다는 줄 쳐졌는데관계가 있나요
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
DateTime(2024, 3, 1)은 안되는데 DateTime.now()는 됩니다
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://inf.run/54jjz - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.제가 놓친부분이 있는건가요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
New Flutter Project 후 강제로 안드로이드 프로젝트로 변환
안녕하세요 padding_theory를 듣던 중, 프로젝트 생성 부분에 궁금증이 생겼습니다. 윈도우10에서 new flutter project를 선택한 후 진행을하면 아래 스크린샷처럼 Project가 아닌 Android로 자동으로 바뀌면서 경로 또한 android 폴더로 들어가게 됩니다. 처음에는 Project로 설정되어있고 Flutter 아이콘도 뜨는데 한 5초 정도가 지나면 자동으로 안드로이드 프로젝트로 인식을 하는 것 같습니다.구글링해서 해결방법을 찾으려고 해보니, 프로젝트 폴더안에 .idea 폴더와 android폴더 안의 padding_theory_android.iml 파일을 지우고 다시 프로젝트를 열어보니 정상적으로 실행이 되더군요. 매번 이렇게 파일을 지우고 다시 시작하기엔 번거로울 것 같은데, 혹시 제가 빠트린 초기설정 방법 같은 것이 있을까요? 감사합니다.
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
섹션16까지 했는데 로그인 후 화면이동이 안되고 있습니다.
flutter: previous: Instance of 'UserModel', next: Instance of 'UserModelLoading' flutter: [REQ] [POST] http://127.0.0.1:3000/auth/login flutter: [RES] [POST] http://127.0.0.1:3000/auth/login flutter: [REQ] [GET] http://127.0.0.1:3000/user/me/ flutter: [RES] [GET] http://127.0.0.1:3000/user/me/ flutter: previous: Instance of 'UserModelLoading', next: Instance of 'UserModel'섹션16까지 했는데 로그인 후 화면이동이 안되고 있습니다.그래서 AuthProvider 에서 prev, next 를 찍어 보았는데 변경을 잘 되고 있습니다.어디를 확인하면 좋을까요?
-
미해결[코드팩토리] [입문] Dart 언어 4시간만에 완전정복
강사님 덕에 요즘 열심히 수강하고 있습니다
2년 전에 c언어를 배웠었는데 다트 언어는 그에 비해 너무 친절해서 행간에 추론이 필요한 부분이 있네요..사진 상 print(newBlackPink.toList());나 print(newBlackPink2);가 value는 똑같은데 괄호만 종류가 다른데요, 이때 toList를 안 먹이면 Map으로 나오는 건지, 그렇다면 final과 newBlackPink사이에는 Map이 생략되어 있는건지 궁금합니다. 아니라면 어째서 괄호의 종류가 다르게 나오는 건지 알려주세요!요지는 newBlackPink2의 자료형이 궁금합니다.
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
서버 요청 형식 질문
일반적으로 서버에 로그인 요청을 보낼 때, 굳이 인코딩된 값을 보내진 않아도 보안상 괜찮을까요? 저는 주로 백엔드 개발을 하다가 풀스택에 관심이 생겨서 플러터 강의를 듣게 되었는데, 대개 로그인 요청을 서버에서 받을 때 헤더에 사용자 정보를 인코딩까지 해서 담아 보낸 값을 서버에서 디코딩을 해본 기억은 없어서요. 주로 json 형식으로 body에 담긴 값들을 바로 읽어서 사용자 검증을 했었습니다. 또한, 강의에서는 로그인 성공 시 access, refresh 토큰을 발급할 때 body에 담았지만, 헤더에 담아도 상관은 없을까요?
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
Sizedbox 관련 질문
안녕하세요. 초급 강의부터 강의 잘 듣고 있습니다. SizedBox는 자주 써도 괜찮을까요? 안드로이드, 아이폰 각 기기 버전마다 사이즈가 다를텐데, SizedBox를 통해 명시적으로 사이즈를 입력해서 여백을 주는 것이 향후 문제가 될 만한 여지가 있을까요? 모든 화면을 ScrollableView로 만들면 딱히 문제가 되진 않을까요?
-
미해결[2025 리뉴얼]플러터플로우로 코딩 없이 한달 안에 앱 만들기
모바일로 넘겨서 봤을때 홈페이지가 스크롤이 되다가 올라와요.
Homepage에서 Column에서 스크롤을 설정하고 pc로 테스트해보면 스크롤이 잘되는데 모바일로 링크에 들어가서 하면 스크롤을 내리면 다시 올라오는 현상이 발생해요 어떻게 해결하죠?
-
미해결Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
최신버전 firebase_ui_auth 할때 EmailAuthProvider 오류 잡는 방법
이메일 로그인 기능 구현 관련 변경된 라이브러리 사용시 auth_gate.dart 참고 import 'package:firebase_auth/firebase_auth.dart' hide EmailAuthProvider;import 'package:flutter/material.dart';import 'package:firebase_ui_auth/firebase_ui_auth.dart';import 'package:instagram_clone/tab/tab_page.dart';class AuthGate extends StatelessWidget { const AuthGate({super.key}); @override Widget build(BuildContext context) { return StreamBuilder<User?>( stream: FirebaseAuth.instance.authStateChanges(), builder: (context, snapshot) { // User is not signed in if (!snapshot.hasData) { return SignInScreen(providers: [EmailAuthProvider()]); } // Render your application if authenticated return const TabPage(); }, ); }}
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
!!필독!! 흔한 에러 해결법 처리 후 오류 발생
안녕하세요. (원격리퀘스트 링크 / [코드팩토리 디스코드])들이 다 deactiavte되서 여기에 질문남깁니다. 현재 m4 mac mini사용중이고, 처음에 셋업할떄 잘 돌아갔는데 3일있고? 다시 ios 시뮬레이터를 실행하려고 하니 다음과 같은 에러가 나는데 익숙치 않아서 해결하기가 어렵습니다. 혹시 도움을 받을 수 이있을까요?Launching lib/main.dart on iPhone 16 in debug mode... Running Xcode build... Xcode build done. 5.9s Failed to build iOS app Uncategorized (Xcode): Command SwiftGeneratePch emitted errors but did not return a nonzero exit code to indicate failure Error (Xcode): unable to rename temporary '/Users/yh/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/1QOPLZ3HJICL2/Darwin-1R6EHFV0M8ED3-1ed5905f.pcm.tmp' to output file '/Users/yh/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/1QOPLZ3HJICL2/Darwin-1R6EHFV0M8ED3.pcm': 'No such file or directory' Error (Xcode): could not build module 'Darwin' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:74:9 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:5:9 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:27:9 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:17:9 Error (Xcode): could not build module 'Foundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:7:8 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:11:9 Error (Xcode): could not build module 'CoreGraphics' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:16:9 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h:23:9 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:36:9 Error (Xcode): could not build module 'Foundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:7:9 Error (Xcode): could not build module 'Foundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:7:8 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h:15:9 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:13:9 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:15:9 Error (Xcode): could not build module 'Foundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/Symbols.framework/Headers/Symbols.h:7:8 Error (Xcode): could not build module 'Foundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:7:8 Error (Xcode): could not build module 'Foundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h:7:8 Error (Xcode): could not build module 'UIKit' /Users/yh/Documents/flutter/build/ios/Debug-iphonesimulator/Flutter.framework/Headers/FlutterAppDelegate.h:7:8 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h:167:9 Error (Xcode): could not build module 'CoreFoundation' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h:17:9 Error (Xcode): could not build module 'CoreAudioTypes' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h:3:9 Error (Xcode): could not build module 'Flutter' /Users/yh/Documents/flutter/ios/Runner/GeneratedPluginRegistrant.h:9:8 Error (Xcode): failed to emit precompiled header '/Users/yh/Library/Developer/Xcode/DerivedData/Runner-ecakosngbcpobydbbdtaqetzklos/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_1F00NIMTMLDS3-clang_1QOPLZ3HJICL2.pch' for bridging header '/Users/yh/Documents/flutter/ios/Runner/Runner-Bridging-Header.h' Uncategorized (Xcode): Command PrecompileSwiftBridgingHeader emitted errors but did not return a nonzero exit code to indicate failure Swift Compiler Error (Xcode): No such file or directory: '/Users/yh/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation' Swift Compiler Error (Xcode): Stat cache file '/Users/yh/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.2-22C146-07b28473f605e47e75261259d3ef3b5a.sdkstatcache' not found Swift Compiler Error (Xcode): Clang importer creation failed Could not build the application for the simulator. Error launching application on iPhone 16.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
scrollController 적용 시 화면이 깜박이는 문제 해결 방법
안녕하세요. scrollController 적용 시 AppBar에 지역명이 적용되면서 화면이 깜박이고 있습니다. 해당 문제를 해결할 수 있는 방법은 없나요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
새로운프로젝트를 만들었는데 상단에 device종류가 뜨지 않습니다
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://inf.run/54jjz - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 새로운 프로젝트를 만들었는데 상단에 no device selected가 뜨면서 강의에서 보여주신것처럼, android기기 목록이 뜨는게 아니라 Chrome(Web),Edge(Web),Windows(desktop),Open android Emulator : Flutter Inflearn Refresh 이렇게만 뜨고 있습니다 왜 저는 강의처럼 디바이스 기기이름이 뜨지 않는걸까요? main.dart에 있는 화면이 뜨지 않습니다
-
미해결[플러터플로우] 실전! 앱 출시를 위한 끝장 노하우!
카카오로그인SDK 질문
안녕하세요. 저는 createCustomToken 에러 로그가 이렇게 뜹니다. 분명 처음부터 끝까지 영상 그대로 했는데 왜그런걸까요? user collection등도 다 활성화 되어있는 상태입니다.createCustomTokenjdu0e5j7y993TypeError: Cannot read properties of undefined (reading 'user')at /workspace/create_custom_token.js:21:21at /workspace/node_modules/firebase-functions/lib/common/onInit.js:33:16at AsyncLocalStorage.run (node:async_hooks:338:14)at /workspace/node_modules/firebase-functions/lib/v2/trace.js:18:37at cloudFunction (/workspace/node_modules/firebase-functions/lib/v1/providers/https.js:53:78)at /layers/google.nodejs.functions-framework/functions-framework/node_modules/@google-cloud/functions-framework/build/src/function_wrappers.js💯29at process.processTicksAndRejections (node:internal/process/task_queues:77:11)GPT한테 물어보면,이 Cloud Function은 onRequest를 사용하고 있고, 데이터를 request.body.data로 받도록 작성되어 있습니다. 그런데 실제 요청에서는 request.body에 직접 user 객체가 있거나, data가 빠져있을 가능성이 높습니다. 라고 합니다. GPT가 수정해주는 코드나 밑에 인프런에의 수정코드로 다 해도 DEPLOY부터 실패하네요~~도와주실 수 있으실까요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
안드로이드 스튜디오 플러터 프로젝트 한글 경로 에러
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://inf.run/54jjz - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.hello_world를 화면에 출력하기 위한 플러터 프로젝트를 생성했는데 바탕화면에 생성한 프로젝트는 문제 없이 빌드가 되는데 바탕화면에 한글로된 폴더를 하나 만들어서 거기에 플러터 프로젝트를 생성하고 빌드하면xception in thread "main" java.lang.RuntimeException: Could not determine wrapper version. at org.gradle.wrapper.GradleWrapperMain.wrapperVersion(GradleWrapperMain.java:111) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) Caused by: java.lang.RuntimeException: No build receipt resource found. at org.gradle.wrapper.GradleWrapperMain.wrapperVersion(GradleWrapperMain.java:97) ... 1 more Error: Gradle task assembleDebug failed with exit code 1위와 같은 에러가 발생하는데 안드로이드 스튜디오의 플러터 프로젝트는 원래 프로젝트 생성 경로에 한글이 있으면 안되는 건지 알려주시면 감사하겠습니다!추가)혹시 몰라서 플러터 프로젝트가 저장된 경로 위치에 접근하는 폴더 명을 모두 영어로 바꿨음에도 에러가 발생하더라구요 현재는 쌩 바탕화면 아니면 문서에 저장한 프로젝트들만 정상적으로 실행이 되는데 이건 단순히 권한 문제인가요?만약 바탕화면에 코드팩토리 프로젝트라는 폴더를 만들고 거기에 지금부터 강의에서 진행할 프로젝트를 모아서 저정하고 싶은데 방법 있을까요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
category 테이블을 사용할 수 없습니다
코드를 똑같이 따라했는데 innerJoin을 사용할때 category 테이블을 입력하면 에러가 나옵니다.Undefined name 'category'. (Documentation) Try correcting the name to one that is defined, or defining the name.뭐가 문제일까요?
-
해결됨[2025 리뉴얼]플러터플로우로 코딩 없이 한달 안에 앱 만들기
회원가입 후 확인이 안됩니다.
안녕하세요 강의 들으며 따라하고 있습니다.Firestore Data Manager 에서 가입한 내용이 나와야 하는 차례인데 가입한 내용이 나오지 않습니다. 뭐가 문제 인지 잘 모르겠습니다.Test 모드에서 sign up 하고 기다리면 CreatAccount 버튼에 둥그라미만 뱅글뱅글 돌다가 그냥 입력한 내용 그대로 보여집니다. 그후 Firstore Data Manager에를 확인 해 보면 가입자에 대한 내용 없이 No documents 라고 나옵니다. 어떤 부분을 다시 봐야 할까요??
-
해결됨Flutter 앱 개발 기초
vs code 자동 포맷팅
vs code에서자동 포맷팅 관련 문의입니다.속성이 3개 이상일 때는 저장하면, 자동으로 세로 3줄 정렬 되는데속성이 2개 일 때는 가로로 1줄로 정렬이 되네요?,콤마를 붙여서 저장을 하면 콤마가 사라지고 가로 정렬됩니다.자동정렬이 강의와 다르게 되나보니 강의에서 몇번째 줄을 수정하라고 할 때 제 vs code 창과 달라서 약간 불편하네요..그리고 강의자님께 문의할 수 있는 오픈 카카오톡 채널이 있나요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
코드 정리 시점 질문
강의 잘 보고 있습니다. 강의를 보던 중, 코드를 정리 하는 시점이 어떻게 되는지 궁금합니다. 처음부터 머리속으로 설계를 하고 코드를 정리하는지, 아니면 statelessWidget 을 정의하여 만든 후, 나중에서 statefullWidget으로 바꿔서 정의하는지가 궁금합니다.
-
미해결Flutter 고급 - 현업 수준의 아키텍처
jdk 설정 및 오류
안녕하세요 질문이 2개있습니다. 강의 듣던중 에뮬레이터 실행하니FAILURE: Build failed with an exception.* Where:Build file 'C:\workspace\Flutter\android\app\build.gradle' line: 5* What went wrong:An exception occurred applying plugin request [id: 'dev.flutter.flutter-gradle-plugin']> Failed to apply plugin 'dev.flutter.flutter-gradle-plugin'. > No such property: source for class: java.lang.String* 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 590msError: Gradle task assembleDebug failed with exit code 1 에러가 났는데 뭐가문제일까요?plugins { id "com.android.application" id "kotlin-android" // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id "dev.flutter.flutter-gradle-plugin" } android { namespace = "com.survivalcoding.flutter_recipe_app_course" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8 } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId = "com.survivalcoding.flutter_recipe_app_course" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName } buildTypes { release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig = signingConfigs.debug } } } flutter { source = "../.." } ============================================================ file > settings > build Tools > gradle 설정 부분에서 jdk 설정부분이 없습니다.PS C:\workspace\Flutter> flutter config --listAll Settings: enable-web: (Not set) enable-linux-desktop: (Not set) enable-macos-desktop: (Not set) enable-windows-desktop: (Not set) enable-android: (Not set) enable-ios: (Not set) enable-fuchsia: (Not set) (Unavailable) enable-custom-devices: (Not set) cli-animations: (Not set) enable-native-assets: (Not set) (Unavailable) enable-flutter-preview: (Not set) (Unavailable) enable-swift-package-manager: (Not set) (Unavailable) jdk-dir: C:\Program Files\Java\jdk-17PS C:\workspace\Flutter> flutter doctor -v[√] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.26100.2314], locale ko-KR) • Flutter version 3.24.0 on channel stable at C:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 80c2e84975 (8 months ago), 2024-07-30 23:06:49 +0700 • Engine revision b8800d88be • Dart version 3.5.0 • DevTools version 2.37.2[√] Windows Version (Installed version of Windows is version 10 or higher)[√] Android toolchain - develop for Android devices (Android SDK version 35.0.1) • Android SDK at C:\Users\hong\AppData\Local\Android\sdk • Platform android-35, build-tools 35.0.1 • Java binary at: C:\Program Files\Java\jdk-17\bin\java • Java version Java(TM) SE Runtime Environment (build 17.0.14+8-LTS-191) • All Android licenses accepted.[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe[!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.42) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools • Visual Studio Build Tools 2019 version 16.11.35425.106 • Windows 10 SDK version 10.0.19041.0 X The current Visual Studio installation is incomplete. Please use Visual Studio Installer to complete the installation or reinstall Visual Studio.[√] Android Studio (version 2024.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)[√] VS Code (version 1.96.4) • VS Code at C:\Users\hong\AppData\Local\Programs\Microsoft VS Code • Flutter extension can be installed from: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter[√] Connected device (4 available) • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 16 (API 36) (emulator) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.2314] • Chrome (web) • chrome • web-javascript • Google Chrome 134.0.6998.89 • Edge (web) • edge • web-javascript • Microsoft Edge 132.0.2957.127[√] Network resources • All expected network resources are available.! Doctor found issues in 1 category.PS C:\workspace\Flutter> flutter config --list 명령어하면 jdk는 17이고 flutter doctor -v 하면 jdk가 21로잡혀있어서 버전이 다른데 jdk 설정하는부분이 없는데 어떻게하면 오류해결과 jdk 수동설정 가능하게 할 수 있을까요?