Android Studio emulator is having issues on Windows 11

One of the most important components of the Android Studio Development SDK is the Android Emulator, which allows developers to test their applications on a wide range of virtualized hardware. However, it looks like the Android emulator was not quite ready for the release of Windows 11, as bug reports are coming in for the emulator while using Hyper-V. Fortunately, there is also a fix in development.

Update 1 (11/11/21 @ 12:35 AND) : Android Studio Emulator 31.1.2 is now released with a patch for Hyper-V on Windows 11. It should appear as an update in Android Studio to everyone soon. The article as published on November 11, 2021, is kept below.

There are at least a few dozen reports online that the Android emulator will not start on Windows 11 (via Mishaal Rahman on Twitter) when using Hyper-V, Microsoft’s native hypervisor on Windows. The issue affects PCs with Intel or AMD processors, but emulators using the Hypervisor driver for AMD processors instead of Hyper-V are not affected. Computers running Windows 10, Linux, or macOS are also not affected by the bug.

Fortunately, a fix is ​​already in development. Microsoft developers have confirmed that the issue is an XSAVE-related bug in the Hyper-V API on Windows 11, and Google and Microsoft are working to resolve the issue. If you need a solution right now, you can either remove a line in the Android Studio emulator source code and compile it yourself, or replace a file with a precompiled version someone created.

Even though the Android Studio emulator is (partially) broken on Windows 11 at the moment, you can still run Android apps on Windows 11 through the built-in Windows Subsystem for Android. In fact, with the ability to load apps, you can even test your Android Studio projects on Windows 11 without worrying about the emulator. Google’s emulator, however, is still the best option for testing specific hardware features, such as throttle movements, custom GPS locations, foldable interfaces, and much more. And of course, if you have a physical Android device, you can connect it to your PC to test apps and games.

Source link

Comments are closed.