액티비티의 경우 아래와 같이 

상태바와 소프트키를 없애 풀스크린으로 설정할 수 있다.

 

 

하지만 기존 액티비티에서 progressDialog를 show()하게 되면, 

동일한 방법을 사용하더라도 상태바와 소프트키가 말끔하게 사라지지 않는다.

 

  

이 문제는 progressDialog를 NOT_FOCUSABLE로 설정한 후 

디스플레이와 풀스크린 설정을 마친 후 

다시 포커싱을 해줌으로써 간단하게 해결 가능하다.

 

 

 

 


안드로이드 스튜디오에서 에뮬레이터를 실행했을 때

 

HAX is not working and emulator runs in emulation mode 

 

위와 같은 오류가 발생하는 경우,

아래와 같이 안드로이드 스튜디오의 

Tools - Android - SDK Manager로 들어가 

Intel x86 Emulator Acclerator (HAXM Installer)를 설치해준다.

 

 

설치 이후에도 여전히 아래와 같은 HAXM오류가 발생하는 경우가 있다.

 

emulator: ERROR: x86 emulation currently requires hardware acceleration!

Please ensure Intel HAXM is properly installed and usable.

CPU acceleration status: HAX kernel module is not installed!



이러한 경우 안드로이드 SDK 설치 폴더의

[extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe] 
파일을 관리자 권한으로 실행해 설치해주면 해결 가능하다.

 

 

 

 

 

+ Recent posts