반응형 mac os4 Resolving the '._drawable' is not a directory Error in Android Studio on macOS macOS에서 Android Studio 빌드 시 '._drawable' is not a directory 오류 해결하기 안드로이드 스튜디오에서 MacOS를 사용하여 빌드할 때 '.drawable' is not a directory 오류가 발생하는 경우, 이는 MacOS가 생성하는 불필요한 '.'로 시작하는 파일로 인해 발생합니다. 이러한 파일은 리소스 디렉토리에 영향을 주어 빌드 오류를 유발할 수 있습니다. 이 문제를 해결하기 위해 다음과 같은 방법을 사용할 수 있습니다:터미널 명령어를 사용하여 '._' 파일 삭제하기: 프로젝트 디렉토리에서 터미널을 열고 다음 명령어를 실행하여 모든 '._'로 시작하는 파일을 삭제합니다:find . -name '._*' -exec rm -rf {} +또는, 'dot_c.. 2025. 4. 15. 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처리되어있을 수도 있는데 clie.. 2023. 2. 7. 맥북에서 Homebrew 설치하는 방법 맥북에서 Homebrew 설치하는 방법 터미널을 열고 아래 순서대로 명령어를 입력하면 된다. 간단하다! 1. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2. echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/사용자계정/.zprofile 3. eval "$(/opt/homebrew/bin/brew shellenv)" 4. 이제 다 됐다! 아래 명령어까지만 실행이 잘 된다면 설치 완료!! brew --version 2023. 1. 14. How to set Mac OS version when building library (라이브러리 빌드할 때 Mac OS버전 설정 방법) How to set Mac OS version when building library (라이브러리 빌드할 때 Mac OS버전 설정 방법) 맥에서 라이브러리를 빌드할 때, 특정 타겟 버전으로 빌드해야할 때가 있다. 예를 들어, 11.2 버전으로 라이브러리를 빌드해야하는데 내가 사용하는 맥의 OS버전이 12.x일 수 가 있다. 이럴 때는 아래 명령어를 사용한 뒤에 라이브러리를 빌드하면 된다. (When building libraries on a Mac, there are times when you need to build to a specific target version. For example, I need to build the library with version 11.2, but the OS vers.. 2022. 10. 4. 이전 1 다음 반응형