본문 바로가기
반응형

mac7

How to solve "could not find dart in your flutter sdk" when you build flutter project 플러터 빌드 시 could not find dart in your flutter sdk 에러 해결 방법How to solve "could not find dart in your flutter sdk" when you build flutter project   방법 1. 간단한 해결 VS code를 이용중이라면 Flutter와 Dart 익스텐션을 제거했다가 다시 설치하면 된다. 방법2. 본질적인 해결 1. 환경변수에 flutter, dart 경로 추가export PATH="$PATH:/Users/sjh/development/flutter/bin"export PATH="$PATH:/Users/sjh/development/flutter/bin/cache/dart-sdk/bin"source ~/.zshrc #.. 2024. 6. 5.
[Android Studio][Mac] 유용한 단축키 모음 [Android Studio][Mac] 유용한 단축키 모음 해당 게시글글은 애플 Mac OS에서 안드로이드 스튜디오를 사용할 때 유용하게 사용하는 단축키를 정리하는 글이다. 필요할 때마다 업데이트 예정이다. 위젯 감싸기 opt + Enter 파일 찾기(소스, 설정 등) shift 연속으로 2번 누르기 코드 자동 정렬 opt + cmd + L 2023. 1. 21.
flutter: command not found 해결 방법 flutter: command not found 해결 방법 플러터를 설치하고 나서 flutter: command not found 에러 메시지가 나올 때가 있다. 이 때는 bash와 zsh의 환경 변수 경로를 추가하면 된다. bash 환경 변수 추가 터미널을 열고 vi .bash_profile .bash_profile에 아래처럼 flutter의 바이너리 파일이 있는 디렉터리를 지정 (경로는 각자 개발 환경마다 다름!) export PATH="$PATH:~/development/flutter/bin" 3. source ./.bash_profile 명령어로 환경 변수 경로 적용 2. zsh 환경 변수 추가 (mac OS - 카날리타 부터) 터미널을 열고 vi .zshrc .zshrc 에 아래처럼 flutte.. 2023. 1. 14.
How to check target os version of dylib library file on Mac OS (Mac OS에서 dylib 라이브러리 파일의 타겟 os 버전 확인하는 방법) How to check target os version of dylib library file on Mac OS (Mac OS에서 dylib 라이브러리 파일의 타겟 os 버전 확인하는 방법) 빌드한 라이브러리의 타겟 OS 버전을 확인이 필요할 때가 있다. 그럴 때는 otool 명령어에 간단한 옵션을 줘서 확인할 수 있다. 터미널을 열고 아래와 같이 커맨드를 내려보자! (Sometimes it is necessary to check the target OS version of the built library. In such a case, you can check by giving a simple option to the otool command. Open a terminal and run the comma.. 2022. 10. 4.
반응형