Can I create an x86-based Android virtual device (AVD) on 64-bit Windows 10? If so, how?

I am new to using Xamarin 2017 to build an Android app. My VisualStudio_android-23_arm_phone (Android 6.0 - API 23) AVD is very slow and I get a pop-up message,

"Running an x86-based Android virtual device (AVD) is 10 times faster. We strongly recommend creating a new AVD."

I have a 64-bit laptop with Windows 10, and in the past I had errors when working with x86 programs on my laptop. I don’t see the Virtual Devices option in the tap of the Xamarin 2017 window.

How do you suggest me get the right fast AVD?

+5
source share
2 answers

In Visual Studio, in the Xamarin project, open the Android SDK Tools. If you know where the SDK Tools are located in the file system, you can also do it like this: you can also enter the “Android SDK Manager” in the shortcut bar in the upper right corner.

enter image description here

Then, make sure you have Intel Hardware Acceleration Manager (HAXM) installed, which will speed up all TREMENDOUSLY actions. The reason this is much faster is because the x86 instruction set is the same as your Intel processor, and also the Intel hardware virtualization acceleration provided by HAXM. ARM device simulators mimic ARM processors that cannot be easily modeled by a PC or Mac x86 processor, so they are terribly slow.

enter image description here

Then, when debugging, make sure that you only use x86 device simulators that you access through the Android Virtual Device Manager, next to the SDK Manager:

enter image description here

Visual Studio has an Android simulator, but I found the latest Android simulator is much better, and it is officially from Google :)

Remember: ALWAYS test your application on REAL DEVICES. Simulation is not enough for the test. Of course, they are great for development!

Hope this helps!

Some more links:

Xamarin Android Simulator Article: https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/debug-on-emulator/android-sdk-emulator/

Xamarin University on Android Player: https://university.xamarin.com/resources/working-with-android-emulators

Intel HAXM: https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm

+4
source

If you are using VS 2017, I recommend that you use Visual Studio Android Emulator, it can be installed through the VS installer package, it is faster.

If you want to install AVD instead, you can follow this link, Configuring Virtual Devices

0
source

Source: https://habr.com/ru/post/1272171/


All Articles