简体   繁体   中英

Android Emulator Not Running - Visual Studio 2017

I recently installed VS 2017. Trying to run a blank Android App Project. All necessary tools are installed but when I try to launch the emulator from within Visual Studio, I get this:

在此输入图像描述

Any Help will be greatly appreciated.

I am having the same problem too. I am able to run the Hyper-V emulators in VS 2015 but not VS 2017. When I try to launch them in VS 2017 I receive Object reference not set to an instance of an object.

If the emulator is already running I am able to run the app that I'm working on from VS 2017. So to work around this I start the emulator from Visual Studio Emulator for Android Windows application and then launch the app that I'm working on from VS 2017. Not great, but it works.

By the way, the Windows Phone 10 Hyper-V emulators launch without issue from VS 2017.

Update

I just installed the latest VS 2017 (on April 8) update and the problem appears to have been corrected.

Perhaps Android SDK didn't install/update properly. You can try reinstalling Android SDK.

假设存在bios文件,请尝试将其复制到计算机上的“android-sdk-windows \\ tools”文件夹中,这可能是路径问题

  1. Set bios to allow Virtualization.
  2. In VS2017, run AVD first before running/debugging xamarin project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM