Search
🔥

Flutter 개발 중 발생하는 오류 대응

생성일
2024/05/30 04:50
마지막 업데이트

1. MissingPluginException(No implementation found for method 오류

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method
Bash
복사

발생 원인

신규 Pub을 추가했는데 iOS, Android 의존성이 있는 경우

해결 방법

Android Studio > File > Invalidate Caches…

2. Invalid depfile:

Invalid depfile: /Users/jinkyujung/kyulabs/swm_flutter_package/sample/.dart_tool/flutter_build/6ea787b146033c98d91c993410a791bd/kernel_snapshot.d Invalid depfile: /Users/jinkyujung/kyulabs/swm_flutter_package/sample/.dart_tool/flutter_build/6ea787b146033c98d91c993410a791bd/kernel_snapshot.d Error: Couldn't resolve the package 'http_interceptor' in 'package:http_interceptor/http_interceptor.dart'.
Plain Text
복사

발생 원인

의존성 오류

해결 방법

flutter clean flutter pub cache clean flutter pub get
Bash
복사