Programing

API 21 및 19 용 Windows 8에서 하드웨어 가속없이 Intel x86 Atom 용 Android 에뮬레이터를 실행하려면 어떻게해야합니까?

lottogame 2020. 10. 16. 07:02
반응형

API 21 및 19 용 Windows 8에서 하드웨어 가속없이 Intel x86 Atom 용 Android 에뮬레이터를 실행하려면 어떻게해야합니까?


Hyper V 또는 하드웨어 가속을 활성화하지 않았으며 둘 중 하나도 원하지 않습니다.

Windows 8에서 하드웨어 가속없이 Intel x86 Atom 용 Android 에뮬레이터를 시작할 수있는 방법이 있습니까?

가능한 모든 조합으로 AVD를 만들었으며 각 조합은 AVD 에뮬레이터 인스턴스를 시작하지 못하여 시작할 때 동일한 오류가 발생합니다.

에뮬레이터 : 오류 : x86 에뮬레이션에는 현재 하드웨어 가속이 필요합니다! Intel HAXM이 제대로 설치되고 사용 가능한지 확인하십시오. CPU 가속 상태 : HAX 커널 모듈이 설치되지 않았습니다!

또는 Intel Atom 86 및 64에 제공된 이미지는 API 21 및 19에 대한 하드웨어 가속 및 hyper V 없이는 실행할 수 없습니다.

비슷한 질문을 많이 발견하고 거의 모든 문서를 읽었지만 hyper v 및 하드웨어 가속없이 실행할 수 있는지 여부가 명확하지 않으므로이 직접적인 질문

이러한 경우 Android에서 어떻게 테스트합니까?


현재 AVD 관리자에서는 할 수 없습니다. 하드웨어 가상화가 필요하지 않은 ARM 이미지를 사용할 기회가 있습니다.

ARM 이미지를 실행하려면 :

  1. AVD 관리자를 엽니 다.
  2. 새 '가상 장치'를 생성하거나 기존 이미지를 마우스 오른쪽 버튼으로 클릭하고 '복제'를 선택합니다.
  3. x86 / x64 대신 arm *을 선택하십시오.
  4. 마법사를 계속합니다.
  5. 운영!

이것이 사용 가능한 솔루션이지만 여전히 느린 솔루션입니다!


명령 줄에서 실행하고 -no-accel 옵션 (예 : SDK / tools 디렉터리)을 사용하여 소프트 x86 에뮬레이터를 강제로 사용할 수 있습니다.

emulator -avd AVD_NAME -memory 768 -no-accel -gpu on

그러나 현재 x86 시스템 이미지가 소프트 x86 에뮬레이터를 충돌시키기 때문에 현재 (V24) SDK에서는 여전히 작동하지 않습니다.

이 작업을 다시 수행 한 유일한 방법은 http://dl-ssl.google.com/android/repository/tools_r22.3-windows.zip 에서 SDK 도구를 V22.3으로 다운 그레이드 하고 다음을 사용하여 AVD 를 빌드하는 것뿐입니다. a는 예를 들어, 시스템 이미지를 다운 그레이드 https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-17_r02.zip . (따라서 최신 버전의 Android에서 테스트해야하는 경우 도움이되지 않습니다.)

Google은 최신 버전의 qemu를 기반으로 한 에뮬레이터의 업데이트 버전으로 이동하고 arm 및 mips 에뮬레이터에 바이너리를 제공하지만 x86에 해당하는 버전을 제공하기 위해 생략했습니다 (emulator-ranchu-x86.exe 및 emulator64는 없습니다). -ranchu-x86.exe). 만약 그들이 그렇게 하였거나 다른 누군가가 "x86"플래그를 켜서 그들의 에뮬레이터 소스를 설정하고 컴파일하는 문제를 겪었다면, _x86 소프트 에뮬레이션이 다시 작동하도록 만들 수있을 것입니다.


짧은 답변 : 아니요. 최근 (약 1 개월 전)까지는 가능했지만 최신 업데이트로는 불가능합니다. ( Android SDK 도구 23.0.5 업데이트 및 avd가 시작되지 않음 참조 ).

나는 비슷한 일을하고 있었다. 가상 머신에서 개발을하고있어서 호스트 머신에서만 사용할 수있는 하드웨어 가속 기능을 사용할 수 없었다. Use Host GPU 옵션 과 함께 Intel x86 이미지를 사용하고 있었습니다 . 하드웨어 가속 없이도 ARM 버전보다 훨씬 빠르기 때문입니다. 하지만이 업데이트 후에는 이전에 작동하던 에뮬레이터 AVD가 더 이상 동일한 오류 메시지로 시작되지 않습니다. 또한 genymotion 및 Xamarin Android 에뮬레이터는 모두 하드웨어 가속이 필요하기 때문에 사용할 수 없습니다 (실제로는 속도를 위해 하드웨어 가속을 사용하는 VM이므로 다른 VM 내에서 실행할 수 없습니다).

이 솔루션 을 찾았 지만 아직 시도하지 않았습니다. 기본 아이디어는 여전히 VM 내부에서 개발하는 것입니다. 그러나 테스트를 위해 호스트 컴퓨터에서 실행중인 에뮬레이터에 연결합니다 (이 에뮬레이터 VM은 이제 하드웨어 가속 기능을 사용할 수 있음).


AVD 시작 오류 와 동일한 문제 :

1) Android SDK Manager에서 Intel x86 Emulator Accelerator (HAXM 설치 프로그램)설치합니다 .

여기에 이미지 설명 입력

2) 실행 (Windows의 경우) :

{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm.exe

또는 (OSX의 경우) :

{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHAXM_1.1.1_for_10_9_and_above.dmg

3) 에뮬레이터를 시작합니다.


같은 문제가 발생했습니다. http://developer.android.com/tools/devices/emulator.html#vm-windows 에서 해결책을 찾았습니다.

다음 간단한 단계를 따르십시오.

  1. Android SDK Manager를 시작하고 Extras를 선택한 다음 Intel Hardware Accelerated Execution Manager.

  2. After the download completes, run [sdk]/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe

  3. Follow the on-screen instructions to complete installation.


The usage of the Hardware acceleration depends on the System Image you choose on the emulator.

So,

  1. Go to AVD manager, create virtual device, select hardware, click next.

  2. Choose the System Image that does not require HAXM (hardware acceleration) for running. (That is appears at the right bottom of System image window.)

Note: for other systems that require HAXM, there no way to run them without hardware acceleration.


use bluestacks as a emulator for best performance. blusestack working fast without hardware based emulation

To connect bluestack to android studio.

  • Close Android Studio.
  • Go to adb.exe location.(Bydefault its C:\Users\Tarun\AppData\Local\Android\sdk\platform-tools)
  • Run adb connect localhost:5555 from this location.
  • Start Android Studio and you will get Blue Stack as emulator when you run your app.

Is there any way that I can start android emulator for intel x86 atom Without hardware acceleration on windows 8

Not with the standard Android SDK emulator, as it requires Intel's HAXM, and HAXM wants virtualization extensions to be enabled.

Whether Genymotion or something else from another independent developer can support your desired combination, I cannot say.


refer intel.com's requirements : Important: Intel HAXM cannot be used on systems without an Intel processor, or with an Intel processor that lacks the hardware features described in the "Hardware Requirements" section above.To determine the capabilities of your Intel processor

[Installation Instructions for Intel® Hardware Accelerated Execution Manager ] https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x

My PC does not support vt-x, I can not use android studio 1.0.2.


yes is possible to run your android emulator without have a hardware accelerator. In fact to do that, you need to open your android virtual device. When you reached to system image configure, it suggest you which version of android image you want to use. Whatever version of android system image that you select,you need to make sure that,ABI is armeabi-v7a and, you target is System image ameabi-v7a with google APIs. And then complete the rest of task and check out your emulator.


I have a pc with intel c2d without hardware accelaration i am having same problem in android studio. firstly i get bored with android studio and installed eclipse+sdk+adt then i have installed every thing and started emulator it worked then the same emulator worked in android studio for direct launching application in android studio and i have also runned the sample app that emulator so you can run android studio without virtualization technique even your processor does not sopport vt-x


You need "VT-x supported processor" at least to run Android emulator with Hardware acceleration.

If you have enabled or installed "Hyper-V" in your windows 8 then please remove it and disable the "Hyper threading" and enable "Virtualization".


'앱'을 실행할 때 (녹색 삼각형) : Device Chooser에서 Launch emulator를 선택하고 버튼을 클릭합니다. [...] Nexus (또는 기타)를 클릭하고 Duplicate를 클릭합니다. OS (Android 6.0 예)에서 변경을 클릭합니다. Clic on Show 다운로드 가능한 시스템 이미지. armeabi-v7a OS를 찾아서 다운로드를 클릭하십시오. 장치에서이 OS를 설정합니다. 완료하고 에뮬레이션을 위해이 장치를 선택합니다.

참고 URL : https://stackoverflow.com/questions/26455756/how-can-i-run-android-emulator-for-intel-x86-atom-without-hardware-acceleration

반응형