Xamarin "Waiting for runtime checks to complete" and VS Emulator

JCB2018 picture JCB2018 · May 15, 2018 · Viewed 9.8k times · Source

I have created a new, bare bones, Xamarin Cross Platform application and I get the following error when running the Android project in a VS emulator using Marshmallow (6.0 API 23):

Waiting for runtime checks to complete

The emulator boots up successfully and the project builds without warnings or errors. I've left it in this state overnight, but it fails to get past this point.

  • VS: 15.7.1
  • Xamarin Forms: 3.0.0.482510

Any direction/suggestions would be appreciated.

EDIT 1: Using the Android SDK image works, so the issue seems to be with the Hyper-V VM.

Answer

FetFrumos picture FetFrumos · Aug 14, 2018

You need restart ADB service. Visual Studio-Service-Android-restart adb service. It helped for me.

In Visual Studio from the Menu Bar: Tools -> Android -> Restart Adb Server