Forum Xamarin.Android

How to add new API levels to Visual Studio Emulator for Android?

Hi, I just upgraded from API 23 to API 24, installed all the JDK (1.8) requirements and am able to build my project when targeting the latest API.

The problem?

Well, I don't have any devices in my emulator that are API 24. Simple, I thought, I'll just go to the Visual Studio Emulator for Android and install a new device profile. Hmm, interesting, there's no option for API 24. I've got all the android SDK and build tools installed for that level...

So the question:
How can I add API 24 to the drop down for filters, or in general get an API 24 on the list of devices?


Best Answer


  • Any ideas on how to get new API levels fro Visual Studio Emulator?

  • Thanks @AlexDunn, that explains it! I was thinking it was something along the lines of how the 'Target Framework' options become available - by installing the SDKs and build tools. Appreciate it!

  • uwantfriesuwantfries GBBeta ✭✭

    This is an automated message. Unfortunately, we have no plans to publish Android images past 4.4. We recommend that you try Google or GenyMotion’s emulator for future images of the Android operating system.

    Yeah. Thanks. That would be great if the VM platforms between these and UWP worked together but you cannot install both on the same box (without some crazy reboot scripts)

  • JohnKozJohnKoz Member

    Suggest notifying us on the documentation page for the VS Emulator, this would have saved me a great deal of time buying a compatible Hyper-V, doing installs and subsequent research, only to find that the emulator is dead.

  • CyberspyCyberspy Member

    The Android SDK Emulator is appalling. When it works (it's flaky, so that's not often), it's dog slow.
    This emulator is so much faster and, despite what the 'automated message' might think, API 23 is available but apparently nothing later, so no Nougat or Oreo, but there is Marshmallow.

    C'mon Microsoft, surely it's not so hard to add some more API's!

  • SamirGunicSamirGunic Member ✭✭

    Why in the world is Microsoft shelving this emulator? They have a great product here! Don't they know it? It's fully Windows compatible, unlike the default glueware coming out of Google and various emulator projects.

    What "feature gap" has Google closed? The default Android emulator that comes with the Android SDK does not support AMD-V. Several years later and it still only supports Intel VT-x. And it only does that after you install Intel HAXM! Which in turn disables Hyper-V on your system. And... you are back at square one, with the same customer complaints as 4 years ago! As long as you are not buying Intel chips.

    If anyone, it's Intel who have closed the gap, not Google. But of course they have, they support their own products.

    As long as there is no AMD-V support in the Google Android emulator on Windows, and AMD does not offer a HAXM equivalent for their chips, Microsoft should continue to develop Visual Studio emulator for Android.

    Before attempting to use acceleration, you should first determine if your CPU supports one of the following virtualization extensions technologies:

    Intel Virtualization Technology (VT, VT-x, vmx) extensions
    AMD Virtualization (AMD-V, SVM) extensions (Linux only)

    As you can see, if you want to use acceleration and you have an AMD system, you need to develop on Linux, not Windows. The alternative is to use an emulator that supports Microsoft technology, which we know as Hyper-V, and that's what Visual Studio emulator for Android is, but apparently Microsoft has decided to abandon it. So good luck finding an emulator that can leverage AMD virtualization technology under Windows, and that does not cost you a pretty penny.

    We told you, you listened... and then you ignored us! Thank you Microsoft! Great way to treat your user base and your customers.

Sign In or Register to comment.