본문 바로가기
반응형

해결34

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 에 아래처럼.. 2023. 1. 14.
How to solve error "unhandled exception: user denied permissions to access the device's location." 해결방법 How to solve error "unhandled exception: user denied permissions to access the device's location." 해결방법 아래와 같이 오류 메시지 발생 (Error message as below) unhandled exception: user denied permissions to access the device's location. 해결 방법 : 아래 코드와 같이 permission을 추가하는 코드 작성 (Solution: Write code to add permission like below code) LocationPermission permission = await Geolocator.requestPermission(); // 추가!.. 2022. 10. 19.
How to fix when redirect (>) doesn't work because you don't have permission in Ubuntu (우분투에서 권한이 없다는 이유로 리다이렉션(>)이 안될 때 해결 방법) How to fix when redirect (>) doesn't work because you don't have permission in Ubuntu (우분투에서 권한이 없다는 이유로 리다이렉션(>)이 안될 때 해결 방법) 아래처럼 명령어를 내리면 /etc/udev/rules.d 내의 파일에 리다이렉션이 실패한다. 이유는 폴더가 root권한의 폴더이므로 일반 유저에겐 권한이 없기 때문이다. [English](If you issue the command as below, redirection to the file in /etc/udev/rules.d fails. The reason is that the folder is a folder with root privileges, so normal users.. 2022. 10. 13.
How to grant USB device permission to general user on Ubuntu (Linux 우분투에서 일반 유저에게 usb디바이스 권한 부여하는 방법) Linux Solution How to grant USB device permission to general user(일반 유저에게 usb디바이스 권한 부여하는 방법) 리눅스에서 애플리케이션을 개발하다보면, usb디바이스와의 연결이 필요한 기능을 개발할 때가 있다.이 때, usb 디바이스에 접근이 되지 않는 문제가 발생하곤 한다. libusb 기반의 라이브러리를 사용할 경우, LIBUSB_ACCESS_ERROR가 발생할 것이다.해결책은 아래 명령어를 순서대로 입력하는 것이다. 터미널을 열고 아래 명령어를 하나씩 입력해보자. [English] (When developing applications in Linux, there are times when developing functions that requi.. 2022. 10. 12.
반응형