문의드립니다.
386
작성한 질문수 10
환경설정 진행 중 Flutter SDK 설치하고 환경변수 등록하고 난 뒤 터미널에서 flutter doctor 입력하면 아래와 같은 에러가 발생하는데 해결방법 좀 알 수 있을까요? ㅠㅠ
(base) gongmyeong@Gongmyeongs-MacBook-Pro ~ % flutter doctor
Unhandled exception:
PathAccessException: Cannot open file, path = '/Users/gongmyeong/.dart-tool/dart-flutter-telemetry-session.json' (OS Error: Permission denied, errno = 13)
#0 File.throwIfError (dart:io/fileimpl.dart:675:7)
#1 File.openSync (dart:io/fileimpl.dart:490:5)
#2 File.writeAsBytesSync (dart:io/fileimpl.dart:644:31)
#3 File.writeAsStringSync (dart:io/fileimpl.dart:668:5)
#4 ForwardingFile.writeAsStringSync (package:file/src/forwarding/forwarding_file.dart:150:16)
#5 Session.getSessionId (package:unified_analytics/src/session.dart:59:17)
#6 UserProperty._toMap (package:unified_analytics/src/user_property.dart:63:31)
#7 UserProperty.preparePayload (package:unified_analytics/src/user_property.dart:50:47)
#8 generateRequestBody (package:unified_analytics/src/utils.dart:109:39)
#9 AnalyticsImpl.send (package:unified_analytics/src/analytics.dart:599:18)
#10 handleToolError (package:fluttertools/runner.dart:190:23)
#11 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:142:13)
#12 _rootRunBinary (dart:async/zone.dart:1423:47)
#13 _CustomZone.runBinary (dart:async/zone.dart:1315:19)
#14 runZonedGuarded.<anonymous closure> (dart:async/zone.dart:1776:18)
#15 Zone.processUncaughtError (dart:async/zone.dart:1081:14)
#16 _CustomZone.handleUncaughtError (dart:async/zone.dart:1285:5)
#17 Future._propagateToListeners (dart:async/future_impl.dart:788:16)
#18 Future._completeError (dart:async/future_impl.dart:651:5)
#19 Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:737:7)
#20 _rootRun (dart:async/zone.dart:1399:13)
#21 _CustomZone.run (dart:async/zone.dart:1301:19)
#22 _CustomZone.runGuarded (dart:async/zone.dart:1209:7)
#23 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249:23)
#24 microtaskLoop (dart:async/schedulemicrotask.dart:40:21)
#25 startMicrotaskLoop (dart:async/schedulemicrotask.dart:49:5)
#26 runPendingImmediateCallback (dart:isolate-patch/isolatepatch.dart:118:13)
#27 RawReceivePort.handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)
답변 2
0
안녕하세요!
강의에서도 알려드리지만 권한 제한이 없는 폴더에 설치 부탁드립니다.
저랑 똑같이 documents 폴더에 sdk 이동하시면 전혀 문제가 없으실겁니다.
감사합니다!
0
sudo flutter doctor 입력하면 정상적으로 아래와같이 실행이 되는데 이대로 진행해도 괜찮은건가요??
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.5, on macOS 13.5.2 22G91 darwin-arm64, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc1)
[!] Xcode - develop for iOS and macOS (Xcode 15.2)
✗ CocoaPods installed but not working.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.
To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.1)
[✓] VS Code (version 1.88.0)
[✓] Connected device (2 available)
[✓] Network resources
198강 (){onTap(e);}의 이해 돕기
0
23
1
video_call 플러그인 설치후 에러 발생
0
45
1
SDK 안드로이드 설치 질문!
0
59
1
코드팩토리 디스코드 링크 다시 부탁드려요~
0
92
1
Webview를 이용해서 URL 상의 페이지 출력 불가
0
69
1
홈스크린 함수를 함축해서 main.dart에 옮기는 문제
0
55
1
플레이스토어
0
59
1
아고라 엔진 init 함수의 반환타입이 Future<void> 이것의 의미는 무엇인가요?
0
55
1
가이드라인 질문
0
57
0
emulator 에러 환경설정 뭐가 문제 일까요??
0
76
1
emulator 실행 오류
0
93
3
Column을 가로방향 최대 사이즈를 차지하도록 하는 방법에 관련
0
71
1
pubspec.yaml에서 font를 추가하면서 weight 값을 지정하는 것이 의미가 있는 것인지 문의
0
43
1
setState()를 호출하지 않으면 build가 실행 안되는 건가요?
0
53
1
video_call 플러그인 설치시 에러문제
0
64
1
children 안의 if 문에서 { } 못쓰는 이유?
0
48
1
이렇게 오류가 떠요
0
63
1
AppBar 사용했는데
0
61
2
[문제해결] '오늘도 출첵!' 의 171번 강의에서 중요한 문제를 발견했습니다
0
56
1
StatefulWidget 실습 에러가 발생합니다.[해결완료]
0
63
1
Video Player 프로젝트에 대한 추가 질문
0
53
0
Row위젯이나 column위젯의 위치는 누가 정하나요??
0
42
1
geolocator 오류때문에 개발진행이 불가능입니다
0
63
1
API 관련 이슈
0
86
2





