Android Studio Virtual Device on a Windows 7 VM not compatible

后端 未结 7 1009
别跟我提以往
别跟我提以往 2021-02-18 13:16

I have a VirtualBox VM on my computer, the VM is running Windows 7 64bit. I installed Android Studio on that VM. I only have the basic Hello World application. When I try to run

相关标签:
7条回答
  • 2021-02-18 13:27

    I had the same issue, solved it by Installing the Intel Hardware Accelerated Execution Manager. Download it with the SDK Manager, it's in Extras. After this, go to the folder

    [Android SDK Root]\extras\intel\Hardware_Accelerated_Execution_Manager

    then run IntelHaxm.exe and install.

    Here the link of the Intel Hardware Accelerated IntelHaxm.exe for Microsoft Windows,Mac OS* X, and Linux Ubuntu

    enter image description here

    You'll get the following message if you don't have virtualization enabled in your BIOS:

    enter image description here

    0 讨论(0)
  • 2021-02-18 13:31

    enable intel virtualization in bios

    0 讨论(0)
  • 2021-02-18 13:38

    if you've already enabled VT-x in the BIOS setting, make sure that you have installed intel haxm that comes with android sdk. If you haven't install it yet, you can open your SDK manager and install it from there or you can download it from this https://dl-ssl.google.com/android/repository/extras/intel/addon/haxm-windows_r6_0_5.zip, unzip it to extras folder in your android sdk then install.

    0 讨论(0)
  • 2021-02-18 13:40

    If you are Not in situation to Enable Intel-VT from BIOS menu, You should use Different processors for your VM, like ARM or 32 bit processors. cause Intel-VT let's you use 64bit VMs.

    0 讨论(0)
  • 2021-02-18 13:46

    Read this post from virtual box as well and see if it applies to your situation please. :) https://forums.virtualbox.org/viewtopic.php?f=6&t=69076. If this is the case I'm afraid that as you requested there would be no free option, as you may have to go for a software such as VMWare which is license based.

    What you could otherwise do is not use Intel HAXM inside your existing VirtualBox. That is by using an Android image that does not need hardware acceleration. This is because it is not possible to run two different emulation stacks on your processor at the same time. So since you are already running Virtual Box it would be better to use an emulator that does not need hardware acceleration. You could refer this post: Can I run an emulator without HAXM in Android Studio? if you like. Cheers

    EDIT: phil did you try this? It would seem like the only viable option since VMWare isn't free

    0 讨论(0)
  • 2021-02-18 13:47

    You can also try GenyMotion intead of AVD. It has better performance than AVD. It's free if you use it non-commercially. GenyMotion uses Virtual Box, you can check if VB working properly.

    0 讨论(0)
提交回复
热议问题