Dev/Error18 Flutter - Cannot provide both a color and a decorationTo provide both, use "decoration: BoxDecoration(color: color)". 오류 Cannot provide both a color and a decoration To provide both, use "decoration: BoxDecoration(color: color)". 'package:flutter/src/widgets/container.dart': Failed assertion: line 270 pos 15: 'color == null || decoration == null' 이유 Container 위젯 안에 색 설정이 중복으로 들어가서 발생한 오류이기에, BoxDecoration 에서만 배경색을 설정하면 된다. 잘못된 형식 Container( decoration: BoxDecoration( color: Colors.red, ... ), ... color: Colors... 2023. 11. 24. Flutter - ../../../.pub-cache/hosted/pub.dev/watcher-1.0.2/lib/src/constructable_file_system_event.dart:7:57: Error: The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class. 오류 ../../../.pub-cache/hosted/pub.dev/watcher-1.0.2/lib/src/constructable_file_system_event.dart:7:57: Error: The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class. Dart 을 업그레이드 해주니 해결 dart pub upgrade 해결 : https://github.com/dart-lang/sdk/issues/52570 Watcher fails with `class 'FileSystemEvent' can't be extended`, for dart, no.. 2023. 11. 24. Android - E/AndroidRuntime: FATAL EXCEPTION: grpc-okhttp-0 안드로이드에서 라이브러리 최신으로 올리면서 발생한 이슈 여러개의 라이브러리 버전을 업하다보니 정확히 무엇때문에 발생했는지 찾기에는 시간이 걸려서 패스 일단은 원인은 아래와 같다고 나왔기 때문에 해당 부분에 대해서 조치를 했다 이슈 2022-02-11 11:24:07.381 6651-6740/com.healthyryu.test.debug E/AndroidRuntime: FATAL EXCEPTION: grpc-okhttp-0 Process: com.healthyryu.test.debug, PID: 6651 java.lang.AssertionError: Method getAlpnSelectedProtocol not supported for object SSL socket over Socket[address=f.. 2022. 2. 11. Firebase - Functions Emulator Error Issue % firebase emulators:start i emulators: Starting emulators: functions, firestore ⚠ emulators: It seems that you are running multiple instances of the emulator suite for project ihp-test-6198e. This may result in unexpected behavior. ⚠ functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: auth, database, hosting, pubs.. 2022. 2. 10. Android - 빈 파일 읽기 오류 (0xFFFFFFEA) Fatal Exception: java.lang.RuntimeException setDataSource failed: status = 0xFFFFFFEA 안드로이드 에서 파일경로가 잘못된 파일(없는 파일)을 읽어드리면 생기는 오류 입니다. 참고 : https://stackoverflow.com/a/44368170/3897810 2019. 6. 18. [Error] Aapt2InternalException: AAPT2 aapt2-3.3.2-5309881 AAPT2 관련 에러* Aapt2InternalException: AAPT2 aapt2-3.3.2-5309881 * 아래의 로그처럼 AAPT2 에서 PNG 이미지를 컴파일 할때 에러가 발생한다. 참고(https://stackoverflow.com/a/54615423/3897810) 의 내용을 보면, Gradle 3.3.2 버전에서는 사이즈가 큰 PNG 파일을 컴파일 할 경우 에러가 발생하는 버그인것 같다. 크게 2가지가 해결 방법!!1. android.enableaapt2=false 를 통해서 AAPT2 를 사용하지 않거나 혹은 기타 다른 처리를 해서 최신 그래들을 사용한다.2. Gradle 3.2.1 버전으로 낮춰서 사용한다. org.gradle.execution.MultipleBuildFailures.. 2019. 3. 19. 이전 1 2 3 다음