Xamarin "Waiting for runtime checks to complete" and VS Emulator
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
I managed to fix this error by doing following the below steps:
- Build and Run the application .
- The build will stall with at "Waiting for Runtime Checks".
- In the emulator click the
>>
arrows in the tool-bar to the right. - Make a note of the IP address for the Windows Phone Emulator Internal Switch.
- Back in VS. From the menu select Tools → Android → Android ADB Command Prompt
- Type
adb connect [IP_FROM_STEP_#4]
. - The build should continue.
You should only need to do this each time the emulator is started. It didn't solve the issue of VS not connecting automatically, but I find it easy enough to do in order to carry on.
As a side note, if the applications runs and immediately quits, then do the following:
- Stop the emulator.
- Open the Hyper-V Manager application.
- Right-click the emulator and select "Settings".
- Expand the "Processor" node and select "Compatibility".
- Tick "Migrate to physical computer with different processor version".
After looking at the link provided by @masound I found that the registry key was missing. So, I did the following:
- Added the "Android SDK Tools" key to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
. - Added a string value with the name
Path
and valueC:\Program Files (x86)\Android\android-sdk
.
I was having the same issue. Spent hours trying to fix it. Tried all the answers above to no avail. Opened Android Device Manager and did a Factory Reset on all of my emulators. It fixed the problem.