Android Studio’s Emulator is having issues on Windows 11

Android Studio’s 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 apps on a wide range of virtualized hardware. However, it would seem the Android Emulator wasn’t quite ready for the release of Windows 11, as bug reports are coming in for the emulator when using Hyper-V. Thankfully, there’s also a fix in development.

Update 1 (11/11/21 @ 12:35 ET): Android Studio Emulator 31.1.2 has now been released with a fix for Hyper-V on Windows 11. It should appear as an update in the Android Studio for everyone soon. The article as published on November 112021, is preserved below.

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

Thankfully, a fix is already in development. Microsoft’s developers confirmed the problem is a bug related to XSAVE in the Hyper-V API on Windows 11, and Google and Microsoft are working to address the problem. If you need a solution right now, you can either remove a line in the Android Studio Emulator’s source code and compile it yourself, or replace one file with a pre-compiled version someone made.

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

About author

Corbin Davenport
Corbin Davenport

Corbin is a tech journalist and software developer based in Raleigh, North Carolina. He's also the host of the Tech Tales podcast, which explores the history of the technology industry. Follow him on Twitter at @corbindavenport.