묻고 답해요
156만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
에러 수정 요청요
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM AILURE: Build failed with an exception.* What went wrong:Execution failed for task ':flutter_plugin_android_lifecycle:compileDebugJavaWithJavac'.> Could not resolve all files for configuration ':flutter_plugin_android_lifecycle: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: /Users/cyhanul/Library/Android/sdk/platforms/android-34/core-for-system-modules.jar.> Error while executing process /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/jlink with arguments {--module-path /Users/cyhanul/.gradle/caches/transforms-3/b7b9aec28f66fd7b93d426bf7780c8dc/transformed/output/temp/jmod --add-modules java.base --output /Users/cyhanul/.gradle/caches/transforms-3/b7b9aec28f66fd7b93d426bf7780c8dc/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 3s 이 에러를 어떻게 수정할수있을까요 - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered error
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered error jdk 17 인데 이 에러를 잡을 수가 없습니다. - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
해결됨[플러터플로우] 실전! 앱 출시를 위한 끝장 노하우!
Error: Unknown error. Please contact support@flutterflow.io.
플러터플로우에서 cloud_functions를 배포할 때 위와 같은 에러가 발생해서 파이어베이스의 Authentication의 설정에보면 차단함수가 열려있지 않습니다. 이것을 열고 함수를 설정하는 부분이 나오는데 아마도 변경된것같아요.참고 링크 남겨드립니다.https://firebase.google.com/docs/auth/extend-with-blocking-functions?hl=ko&authuser=0&_gl=1*xve8tr*_ga*MTAyNjM2NTU2Ni4xNzI2ODIxNzcw*_ga_CW55HF8NVT*MTczNjczOTQ5Mi4yMDkuMS4xNzM2NzQxMTE4LjYwLjAuMA..&gen=2nd
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
parseErrorLogger? errorLogger;
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. repository.g.dart파일을 제너레이션 하면 이렇게 parseErrorLogger? 인스턴스가 자동생성됩니다. 오류도 발생합니다. parseErrorLogger가 있는 부분을 주석처리하고 실행하면 오류가 발생하지 않지만, 빌드시마다 주석이 사라지고 오류가 반복되고있습니다. 코드팩토리님께서 작성하신 코드를 까봐도 해당 코드를 찾을수가 없는것같습니다.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
Documents(내 문서) 폴더가 없는데... 어떡하죠?
내 PC > 로컬 디스크(C:) > 사용자 > admin에 Document(내 문서) 폴더가 없습니다.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
디스코드 링크 부탁드립니다.
디스코드 링크가 유효하지 않아서요 다시 올려주시기 바랍니다 감사합니다:)
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
플러터 gradle 오류 (해결했습니다.)
플러그인 설정 도중에 오류가 생겼습니다.시도 목록android api 재설치No sdk -> android api 34 설정강의 영상 보고 재설정pub.dev 보고 재설정프로젝트 재생성추가적으로 Properties가 인식이 안되는 상황이 발생합니다.(def properties = new Properties() <- Cannot resolve symbol 'Properties')아래는 제 설정 파일과 오류문입니다.//build.gradle minSdk = minSdkVersion 20 targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName //pubspec.yaml cupertino_icons: ^1.0.8 geolocator: ^13.0.2 google_maps_flutter: ^2.10.0FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\user\StudioProjects\location_exam\android\build.gradle' line: 13 * What went wrong: A problem occurred evaluating root project 'android'. > A problem occurred configuring project ':app'. > Could not create task ':app:compileFlutterBuildDebug'. > Cannot get property 'apiLevel' on null object * 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 2s Error: Gradle task assembleDebug failed with exit code 1(해결) minSdk = minSdkversion 20에서minSdkVersion 21로 바꿨습니다.
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
주문탭 에러
ㅇㅇ
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
API 다중 요청시 refreshToken 다중 요청에 대해서
Dio로 inspector을 구현한 이후 토큰 만료 시 refreshToken으로 accessToken을 재발급하는 과정에서 만약 API요청을 하나만이 아니라 동시에 3개가 요청되는 상황일 때 어떻게 되는지 궁금합니다. 시나리오는 게시글의 상세페이지로 이동하였을 때 게시글, 댓글, 사용자 정보 등의 API를 동시에 보내게 된다면 모두 요청 중인 상황이고 그 상황에서 accessToken이 만료된 상황이라면 3 모두 다 refreshToken으로 3번 accessToken을 요청되어 accessToken이 꼬이게 되는 상황이 나올 것 같아 질문 드립니다
-
미해결[2025 리뉴얼]플러터플로우로 코딩 없이 한달 안에 앱 만들기
app state variable 활용 질문
현재 choicechips 를 활용하여 app state variable 을 관리하고 있습니다. 이때 choicechips 에서 선택된 app state variable 을 기준으로 게시물을 filtering 해주려고 하는데, listview 에 어떻게 이 정보를 담아서 Filtering 을 할 수 있을까요?? 참고로 Post document 에 group_name 이라는 string 이 있어서, filter 로 Equal to 로 app state variable 을 선택하려고 했는데, app state variable 이 비활성화되어 선택이 불가합니다.
-
해결됨[2025 리뉴얼]플러터플로우로 코딩 없이 한달 안에 앱 만들기
검색 질문
검색 기능을 따라서 구현하고 있는데, listview 에는 dynamic children 탭이 없어서 질문드립니다. 이경우는 backend query 에 Filter 를 textfield 값으로 추가해서 걸면 될까요??이렇게 하려고 하면 title 에 relation 을 contains textfield 이렇게 걸어야 할거 같은데 contains 같은 조건이 없네요...;;
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
바스켓 데이터가 제대로 안들어오는거 같습니다.
final routerProvider = Provider<GoRouter>((ref) { final provider = ref.watch(authProvider); return GoRouter( initialLocation: '/splash', routes: provider.routes, redirect: provider.redirectLogic, ); }); flutter refreshListenable 은 v7에서 없던 내용 같은데 어떻게 처리하면 될까요?그리고 redirect:provider.redirectLogic 에서에러가 납니다. redirect: (context, state){ return provider.redirectLogic(state); }, 이렇게 수정해주면 될까요? 두번째 아이템은 count만 가져오고 나머지 데이터는 가져오질 못하네요. 코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
안드로이드 빌드 오류 문제
IOS는 빌드가 정상적으로 실행되는데,안드로이드는 아래와 같은 메시지와 함께 실행이 안됩니다.어떤 문제인지 감을 잡기가 어렵습니다Mac을 사용중입니다어떻게 고쳐야 할지 답변 부탁드립니다 You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-applyYou are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-applyCould not find a command named "bin/build_tool_runner.dill".Usage: dart <command|dart-file> [arguments]Global options:-v, --verbose Show additional command output.--version Print the Dart SDK version.--enable-analytics Enable analytics.--disable-analytics Disable analytics.--suppress-analytics Disallow analytics for this dart * run without changing the analytics configuration.-h, --help Print this usage information.Available commands:analyze Analyze Dart code in a directory.compile Compile Dart to various formats.create Create a new Dart project.devtools Open DevTools (optionally connecting to an existing application).doc Generate API documentation for Dart projects.fix Apply automated fixes to Dart source code.format Idiomatically format Dart source code.info Show diagnostic information about the installed tooling.pub Work with packages.run Run a Dart program.test Run tests for a project.Run "dart help <command>" for more information about a command.See https://dart.dev/tools/dart-tool for detailed documentation.FAILURE: Build failed with an exception.* Where:Script '/Users/jjh/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/cargokit/gradle/plugin.gradle' line: 65* What went wrong:Execution failed for task ':irondash_engine_context:cargokitCargoBuildIrondash_engine_context_nativeDebug'.> Process 'command '/Users/jjh/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/cargokit/gradle/../run_build_tool.sh'' finished with non-zero exit value 64* 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 6sError: Gradle task assembleDebug failed with exit code 1
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
Go_router 최신 버전 사용시 에러
final routerProvider = Provider<GoRouter>((ref) { final provider = ref.watch(authProvider); return GoRouter( initialLocation: '/splash', routes: provider.routes, redirect: provider.redirectLogic, ); }); flutter refreshListenable 은 v7에서 없던 내용 같은데 어떻게 처리하면 될까요?그리고 redirect:provider.redirectLogic 에서에러가 납니다. redirect: (context, state){ return provider.redirectLogic(state); }, 이렇게 수정해주면 될까요? 코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
코틀린,자바,그레들,jdk,jvm등등 한번 설명해줄수있나요.
코틀린,자바,그레들,jdk,jvm,sdk등등 한번 설명해줄수있나요.에러가 나면 뭐가 뭔지 모르겠어요.설치하다가 진이 빠지내요..android\build.gradle는 무슨역활하는지.settings.gradlegradle-wrapper.propertiesandroid\app\build.gradlegoogle-services.jsonfirbasea_options.dart이런 파일이 무슨역활을 하지는 알아야 에러를 잡겠는데 그냥 ai에게 묻다보니 치쳐서요
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
final로 클래스 선언 시 extends 의 사용 가능여부
코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 41:59의 화면에서, 3번째 줄에는 final로 클래스를 선언하면 extends, implement, mixin으로 사용이 불가능하다고 설명해주셨는데, 7번째 줄에는 final로 선언된 클래스도 extends가 가능한 것처럼 설명하신 것 같아서요. 아니면 extend와 extends가 다르게 쓰이는 건가요? 헷갈려서 질문합니다
-
해결됨Flutter 앱 개발 실전
코드 생성기 - 실습 build runner 안 되는 분.
현재 날짜 기준으로 freezed: ^3.0.0-0.0.dev 버전이 설치되는데, 이러면 dart run build_runner build 명령어가 잘 안 먹히는 것 같아요. 저는 아래처럼 수정하고, pubspec.lock 파일 삭제 후 dart pub get 실행한 뒤에 다시 build 명령어 실행하니 person.g.dart / persone.freezed.dart 파일 모두 생성되었습니다. <수정전>name: dart_application_1 description: A sample command-line application. version: 1.0.0 # repository: https://github.com/my_org/my_repo environment: sdk: ^3.6.0 # Add regular dependencies here. dependencies: equatable: ^2.0.7 freezed_annotation: ^2.4.4 json_annotation: ^4.9.0 # path: ^1.8.0 dev_dependencies: build_runner: ^2.4.14 freezed: ^3.0.0-0.0.dev json_serializable: ^6.9.2 lints: ^5.0.0 test: ^1.24.0 =><수정후>name: dart_application_1 description: A sample command-line application. version: 1.0.0 # repository: https://github.com/my_org/my_repo environment: sdk: ^3.6.0 # Add regular dependencies here. dependencies: equatable: ^2.0.7 freezed_annotation: ^2.4.4 json_annotation: ^4.9.0 # path: ^1.8.0 dev_dependencies: build_runner: ^2.4.14 freezed: ^2.4.8 json_serializable: ^6.9.0 lints: ^5.0.0 test: ^1.24.0
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
Restaurant Card 컴포넌트 내의 factory에 대한 질문
factory RestaurantCard.fromModel({ required RestaurantModel model }) { return RestaurantCard(image: image, name: name, deliveryFee: deliveryFee, deliveryTime: deliveryTime, ratingsCount: ratingsCount, ratings: ratings, tags: tags) }RestaurantCard내에 fromModel로 만드는 방법은 매우 편해보이긴 하지만 페이지마다, 특정 조건에 의해 해당 컴포넌트를 재사용하지만 어떤 데이터는 추가로 들어가고 어떤 데이터는 빠져야할 경우가 생길 수 있는데 그럴 경우를 대비하여 굳이 해당 컴포넌트 내에는 fromModel로 만들지 않는 것이 더 좋지 않나요??예를 들어 홈에서는 태그가 있지만 음식 페이지에서 동일한 컴포넌트를 사용하면서 태그 데이터가 필요하지 않는 경우가 있을 것 같아 여쭤봅니다코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다![코드팩토리 디스코드]https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
앱바의 배경색상 바뀜현상
안녕하세요 코드팩토리님 한가지 질문이 있습니다.Scaffold의 인자인 appBar에 AppBar위젯으로 appBar: AppBar( automaticallyImplyLeading: false, backgroundColor: Colors.white, toolbarHeight: 48.0, elevation: 0.0, title: const Text( '앱바 타이틀', style: TextStyle( color: AppColors.textColor1, fontSize: 18.0, fontWeight: FontWeight.w500, ), ), ),이렇게 어떤 Scaffold든 이 AppBar를 썼을 때, body에서 스크롤을 내리면(body에 SingleChildScrollView위젯을 쓴다고 가정) 지정해놓은 AppBar의 배경색인 흰색이 다른 색으로 바뀝니다.다시 스크롤을 맨 위로 올리면 흰색으로 돌아오구요.이 현상에 대해서 아신다면 말씀 부탁드립니다..
-
미해결Flutter로 SNS 앱 만들기
실수로 파이어프로젝트를 삭제하여 다시 살렸는데 profile screen이 에러입니다
실수로 파이어프로젝트를 삭제하여 다시 살렸는데 profile screen이 에러입니다.실수하기전까지는 잘 돌아갔습니다.파이어베이스정책이 달라서 그런건가요무슨이유인지요