본문 바로가기

Programming/Android

Android Studio - AVD for AMD

진짜 오랜만에 안드 개발하려고 안스 켰다가 만난 문제.

사실 - 인텔 CPU에서 라이젠으로 넘어온 이후 C++만 해서 이건 처음봤다.

 

Intel HAXM is required to run this AVD. 
Your CPU does not support required features (VT-x or SVM). 

Unfortunately, your computer does not support hardware accelerated virtualization. 
Here are some of your options: 
 1) Use a physical device for testing 
 2) Develop on a Windows/OSX computer with an Intel processor that supports VT-x and NX 
 3) Develop on a Linux computer that supports VT-x or SVM 
 4) Use an Android Virtual Device based on an ARM system image 
   (This is 10x slower than hardware accelerated virtualization)

 

해석해보자면 -

AVD를 실행하려면 Intel HAXM이 필요한데, 내 컴퓨터는 인텔 CPU가 아니니 지원 안된다.

 

뭐, 이건 예상했다. 이에 대해 더 무슨 잡소리가 필요하겠는가.

 

 

위의

1번 - 빨간 박스 (Android Emulator Hypervisor Driver for AMD Processors ) 체크 후 다운로드

2번 - 파란 박스에 있는 경로로 이동 - extras\google\Android_emulator\Hypervisor_driver로 이동

(위의 경로가 나와 동일하다면 -
%ANDROID_SDK_ROOT%\Sdk\extras\google\Android_Emulator_Hypervisor_Driver
로 이동하면 됨 )

silent_install.bat 실행

 

실행( Window + R ) - cmd - sc query gvm 실행

만일 위의 노란색 박스에서 Running이 아닌 Stopped 로 뜬다면

SVM이 바이오스에서 사용설정 되어있지 않거나, Hyper-V가 사용 중이라는 뜻이다.

( SVM이 사용설정이 되어 있는 상태에서 Hyper-V가 사용 중 임에 따라 Stopped로 떠야 AVD가 실행된다.)