From 45e9b53360c998ee50a054385eb936e9cb5a477c Mon Sep 17 00:00:00 2001 From: Stafford Williams Date: Wed, 25 Mar 2020 16:40:56 +1100 Subject: [PATCH 1/2] No Intel HAXM when using Hyper-V MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The docs [here](https://reactnative.dev/docs/getting-started) for Windows > Android lists the following package as a requirement; * `Performance (Intel ® HAXM)` However, in the case of having Hyper-V enabled, like for Docker, installing that package results in failure; > This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed. Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information. The docs also link an article related to AMD, which also happens to mention Hyper-V; > If you want to use Hyper-V at the same time as the Android Emulator on your Intel processor-based computer, you will also need the same Android Studio and Android Emulator versions as listed above, but with the additional requirements: > > * Enable via Windows Features: "Hyper-V" - Only available for Windows 10 Professional/Education/Enterprise > * Intel Processor : Intel® Core™ processor that supports Virtualization Technology (VT-x), Extended Page Tables (EPT), and Unrestricted Guest (UG) features. Additionally VT-x needs to be enabled in the BIOS. I've just learnt (via trial and error) that the latter means you don't need HAXM at all if you satisfy the above two. When I originally read the article though, I thought it was implying I still need HAXM, and, the react-native docs are not clear on this. --- docs/getting-started.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 1aae75f3b06..a338f0ae9f2 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -244,7 +244,8 @@ Setting up your development environment can be somewhat tedious if you're new to - `Android SDK` - `Android SDK Platform` -- `Performance (Intel ® HAXM)` ([See here for AMD](https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html)) +- If not already using Hyper-V: + - `Performance (Intel ® HAXM)` ([See here for AMD or Hyper-V](https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html)) - `Android Virtual Device` From ebd1cc09a0d188519bf149abd55b7b2ea0e42089 Mon Sep 17 00:00:00 2001 From: R Nabors Date: Fri, 27 Mar 2020 13:19:11 +0000 Subject: [PATCH 2/2] Tweaking copy --- docs/getting-started.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index a338f0ae9f2..f141e4d6046 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -244,9 +244,8 @@ Setting up your development environment can be somewhat tedious if you're new to - `Android SDK` - `Android SDK Platform` -- If not already using Hyper-V: - - `Performance (Intel ® HAXM)` ([See here for AMD or Hyper-V](https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html)) - `Android Virtual Device` +- If you are not already using Hyper-V: `Performance (Intel ® HAXM)` ([See here for AMD or Hyper-V](https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html))