Tip

안드로이드 애뮬레이터 그래픽 깨짐 현상

  • -
반응형

오랜만에 Windows 환경에서 애뮬레이터를 실행하고 발견한 현상입니다.

오류 없이 빌드 후 애뮬레이터 화면이 출력되는데 아래와 같이 이미지와 한글이 모두 깨지는 현상이 있었습니다.

 

 

애뮬레이터에 그래픽 옵션이 있는지 확인을 해보니 Emulated Performance 라는 옵션이 있었습니다. 그런데 해당 옵션 수정이 불가능한 상태였고, config 파일 수정을 통해 직접 변경할 수 있는 것을 확인했습니다.

 

Windows 기준 애뮬레이터 경로는 다음과 같습니다.

avd 경로에서 실행 중인 디바이스 폴더에 들어갑니다.

C:\Users\Admin\.android\avd\Pixel_8_Pro_API_34.avd

 

config.ini 파일에 hw.gpu.enabled, hw.gpu.mode 옵션을 확인합니다.

hw.gpu.enabled=yes
hw.gpu.mode=software

 

수정된 내용을 저장하고 다시 애뮬레이터를 실행해봅니다.

 

 

참고문서
 

Can't change emulated performance of AVD in Android Studio

I can't change the graphics to software as I'm sure this is the fix for my AVD not launching. The option is greyed out (see screenshot). Has anyone has experience with this? I couldn't find anyone...

stackoverflow.com

반응형
Contents

포스팅 주소를 복사했습니다.

이 글이 도움이 되었다면 공감 부탁드립니다.