神
神山
Guest
Hello, I am a new guy on coding android app using C++. I just tried my first case according to "Create an Android Native Activity App - Visual Studio". It seems that I have followed all the instructions in the"Hyper-V Android emulator support". But something is wrong with my android emulator. Here is the issue:
Suppose chosing the "Android_Accelerated_x86_oreo" and then debuging or excecuting, nothing happened, it seems that the emulator doesn't work.
Suppose chosing the "Visual studio_android-23_x86_phone", it popped up an dyploy error, and tell me "1>emulator: Requested console port 5554: Inferring adb port 5555.
1>emulator: ERROR: x86 emulation currently requires hardware acceleration!
1>Please ensure Intel HAXM is properly installed and usable.
1>CPU acceleration status: Please disable Hyper-V before using the Android Emulator. Start a command prompt as Administrator, run 'bcdedit /set hypervisorlaunchtype off', reboot."
Anybody can help me solve this? I am really appreciate for your kindly help!PS: I can succesfully launch Android_Accelerated_x86_oreo and Visual studio_android-23_x86_phone in Android Devcie Manager directly (without deploy any app)
OS: win10 1803
Already install:
VS2017 v15.8.23
Hyper-v
Windows Hypervisor Platfrom
Android 8.1-oreo
Android 6.0-marshmallow
Android sdk tools v26.1.1
Android sdk platform tools v28.0.0
Android sdk built tools v27.0.3
Android sdk built tools v25.0.3
Android emulator v27.3.9
Google usb driver V11
sdk patch applier v4 v1
without install: HAXM
Already have: File advancedFeatures.ini with WindowsHypervisorPlatform = on in the correct path.
Continue reading...
Suppose chosing the "Android_Accelerated_x86_oreo" and then debuging or excecuting, nothing happened, it seems that the emulator doesn't work.
Suppose chosing the "Visual studio_android-23_x86_phone", it popped up an dyploy error, and tell me "1>emulator: Requested console port 5554: Inferring adb port 5555.
1>emulator: ERROR: x86 emulation currently requires hardware acceleration!
1>Please ensure Intel HAXM is properly installed and usable.
1>CPU acceleration status: Please disable Hyper-V before using the Android Emulator. Start a command prompt as Administrator, run 'bcdedit /set hypervisorlaunchtype off', reboot."
Anybody can help me solve this? I am really appreciate for your kindly help!PS: I can succesfully launch Android_Accelerated_x86_oreo and Visual studio_android-23_x86_phone in Android Devcie Manager directly (without deploy any app)
OS: win10 1803
Already install:
VS2017 v15.8.23
Hyper-v
Windows Hypervisor Platfrom
Android 8.1-oreo
Android 6.0-marshmallow
Android sdk tools v26.1.1
Android sdk platform tools v28.0.0
Android sdk built tools v27.0.3
Android sdk built tools v25.0.3
Android emulator v27.3.9
Google usb driver V11
sdk patch applier v4 v1
without install: HAXM
Already have: File advancedFeatures.ini with WindowsHypervisorPlatform = on in the correct path.
Continue reading...