[AndroidStudio] Error while waiting for device: Pixel 4 API 33 is already running. If that is not the case, delete *.lock and try again.

PersesTitan·2023년 4월 14일
0

Android

목록 보기
3/9

안드로이드를 비정상적으로 종료하면 아래와 같은 락이 걸려버립니다.

Error while waiting for device: Pixel 4 API 33 is already running. If that is not the case, delete /Users/PersesTitan/.android/avd/Pixel_4_API_33.avd/*.lock and try again.

여기서 리눅스나 mac이면 터미널에 아래와 같은 명령어를 통해 간단하게 *.lock를 제거할 수 있습니다.

컴퓨터마다 다르게 에러가 뜰텐데 delete뒤에 있는 파일 경로를 그대로 복사해서 아래 명령어를 실행하면 됩니다.

rm <복사한 경로>

저 같은 경우 아래와 같이 입력하면 됩니다.

rm /Users/PersesTitan/.android/avd/Pixel_4_API_33.avd/*.lock
profile
안녕하세요 페르세스 티탄입니다! 부족한 부분이 많이 있겠지만 잘부탁드립니다.

0개의 댓글