Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
735 views
in Technique[技术] by (71.8m points)

visual studio - How to verify that Android SDK emulator is running in Hyper-V

I am developing an app for android using Xamarin. I am using Visual Studio 2017 and the Android SDK emulator that came with the Xamarin package from the visual studio installer.

The emulator is very slow. I followed the instructions in this article to enable acceleration with Hyper-V: https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration

The article does not say anything about having to set up a VM or configure the emulator itself to use Hyper-V, only how to enable Hyper-V...

The emulator is still slow. How can I verify that the emulator is actually using Hyper-V?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

In Documentation Microsoft suggest to run the following command to see which Acceleration you use:

"C:Program Files (x86)Androidandroid-sdkemulatoremulator-check.exe" accel

Also make sure you use a recent Windows 10 Build, the Hyper-V Platform only works since Version 1803, but not in older Windows 10 Versions.

If you still have issues, follow the Microsoft documentation, it shows a lot of tips.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...