티스토리 뷰

반응형

Stack Overflow에 자주 검색, 등록되는 문제들과 제가 개발 중 찾아 본 문제들 중에서 나중에도 찾아 볼 것 같은 문제들을 정리하고 있습니다.

Stack Overflow에서 가장 먼저 확인하게 되는 가장 높은 점수를 받은 Solution과 현 시점에 도움이 될 수 있는 가장 최근에 업데이트(최소 점수 확보)된 Solution을 각각 정리하였습니다.

 

아래 word cloud를 통해 이번 포스팅의 주요 키워드를 미리 확인하세요.

How do I fix "Failed to sync vcpu reg" error?

어떻게 "Failed to sync vcpu reg" 오류를 수정할 수 있나요?

 문제 내용 

I'm trying to use the Intel HAX x86 emulator for Windows (8, if that matters). I installed everything and created an AVD for the android version, and everything appears correct, but when I run it, I get this output:

저는 인텔 HAX x86 에뮬레이터를 윈도우즈(8)에서 사용하려고 합니다. 모든 것을 설치하고 안드로이드 버전용 AVD를 만들었으며 모든 것이 올바르게 보입니다. 그러나 실행하면 다음 출력이 나옵니다:
Starting emulator for AVD 'x86_QVGA_Level10'
emulator: device fd:1044
HAX is working and emulator runs in fast virt mode
emulator: Failed to sync vcpu reg
emulator: Failed to sync HAX vcpu context

 

and the emulator won't run. The significant part of this error (Failed to sync vcpu reg) is not mentioned ANYWHERE online, except in the source code for the HAX itself, but I can't figure out how to make any sense of this.

그리고 에뮬레이터가 실행되지 않습니다. 이 오류의 중요한 부분인 "Failed to sync vcpu reg"는 HAX 소스 코드를 제외한 모든 곳에서는 언급되지 않았습니다. 하지만 제가 이것을 이해하는 방법을 찾을 수 없습니다.

 

Can anyone advise about how to get past this error? I really need to get this working, because debugging on device and in the default emulators is painfully slow.

이 오류를 어떻게 해결할 수 있는지 조언해주실 분 계신가요? 기본 에뮬레이터나 디바이스 디버깅은 너무 느려서 이것을 작동시켜야 하는데요.

 

 

 

 높은 점수를 받은 Solution 

Make sure you don't have any virtual machines running. In my case, I had genymotion running which was causing this error.

가상 머신이 실행 중이지 않은지 확인하세요. 제 경우, genymotion이 실행 중이어서 이 오류가 발생한 것 같습니다.

 

 

 

 가장 최근 달린 Solution 

Do you have HP SureClick running? I had the same problem on the HP laptop until I disabled it.

HP SureClick를 실행 중인가요? HP 노트북에서도 같은 문제가 발생하여 비활성화하기 전까지는 이 문제가 계속 발생했습니다.

 

HP SureClick is a security protection program which runs "unsafe" programs in micro-VMs. It may also be called HP Wolf Security on your machine, which is the new name for it, although under the hood (e.g. folders, dialogs etc) it's still called SureClick. It may have some processes visible in Task Manager with a prefix of "Br", which stands for Bromium.

HP SureClick는 "위험한" 프로그램을 마이크로 가상 머신에서 실행하는 보안 보호 프로그램입니다. 당신의 컴퓨터에서 HP Wolf Security라는 이름으로도 불릴 수 있습니다. 그러나 폴더, 대화 상자 등의 내부 구조는 여전히 SureClick으로 불립니다. "Br" 접두사가 붙은 일부 프로세스는 작업 관리자에서 볼 수 있습니다. 이는 Bromium을 나타냅니다.

 

Similarly to other answers, it cannot be running at the same time as Android Emulator, as it is basically a virtual machine.

다른 답변들과 비슷하게, 안드로이드 에뮬레이터와 동시에 실행될 수 없기 때문에 HP SureClick은 실행되지 않아야 합니다. HP SureClick은 사실상 가상 머신인데, 다른 답변들과 마찬가지로 안드로이드 에뮬레이터가 실행되고 있을 때 동시에 실행될 수 없습니다.

 

Here are some steps to disable it (not all may be required but this worked for me):

다음은 비활성화하는 방법입니다 (일부는 필요하지 않을 수 있지만, 이 방법이 제대로 작동했습니다):

 

  1. Right click on "HP SureClick" or "HP Wolf" in your system tray and select "Disable Threat Containment". It will pop up a dialog asking for the reason (optional), so just click OK
  2. Right click on the icon again and select "Disable Malware Protection"
  3. Click Start, type "services", open the Services window and set all "HP SureClick" services to disabled by right-clicking on each -> Properties -> change startup type to Disabled (for me there were 3 such services)
  4. Restart the computer
1. 시스템 트레이에서 "HP SureClick" 또는 "HP Wolf"를 마우스 오른쪽 버튼으로 클릭하고 "위협 방지 비활성화"를 선택합니다. 이는 이유를 묻는 대화상자가 나타나며 (선택 사항), 그냥 확인을 클릭하면 됩니다.
2. 아이콘을 다시 마우스 오른쪽 버튼으로 클릭하고 "악성 코드 보호 비활성화"를 선택합니다.
3. 시작 메뉴에서 "services"를 입력하여 서비스 창을 열고, 각각에 대해 마우스 오른쪽 버튼을 클릭하여 모든 "HP SureClick" 서비스를 비활성화로 설정합니다. -> 속성 -> 시작 유형 변경(내 경우 3개의 서비스가 있었습니다)
4. 컴퓨터를 다시 시작합니다.

 

After doing this, I was able to use Android Emulator again :)

위의 작업을 수행한 후, 다시 안드로이드 에뮬레이터를 사용할 수 있었습니다. :)

 

 

 

출처 : https://stackoverflow.com/questions/17024538/how-do-i-fix-failed-to-sync-vcpu-reg-error

반응형
댓글
공지사항
최근에 올라온 글