반응형 trouble2 SocketException: Connection failed (OS Error: Operation not permitted, errno = 1) [flutter][macOS] SocketException: Connection failed (OS Error: Operation not permitted, errno = 1) [flutter][macOS] 에러 내용 애플 macOS에서 http통신 코드를 호출할 때, SocketException: Connection failed 에러가 나타날 때가 있다. 에러 사유를 디버깅해보면 OS Error: Operation not permitted 라고 표시된다. 이제 우리는 OS 에서의 권한적인 문제가 있나보구나 정도로 원인을 유추할 수 있다. 해결책 아래와 같이 앱 프로젝트 내에서 권한을 추가한다. 파일은 Runner/DebugProfile.entitlements 이다. 기존 코드는 server에 대해서만 true처리되어있을 수도 있는데.. 2023. 2. 7. [flutter] Dart Unhandled Exception: MissingPluginException(No implementation found for method loadBannerAd on channel plugins.flutter.io/google_mobile_ads) 에러 출력 내용 Dart Unhandled Exception: MissingPluginException(No implementation found for method loadBannerAd on channel plugins.flutter.io/google_mobile_ads) 대응책 flutter 자체 기능인 hot reload로는 해결되지 않습니다. 아래 절차대로 새로 빌드하면 해결되곤 합니다. 1. flutter clean 2. flutter run 2021. 11. 13. 이전 1 다음 반응형