Could not connect to the debugger

When you click the play-button to deploy your app and debug it, the Android app starts and immediately closes. In the console you can read that the debugging was stopped. If this is the case, the workaround is simple:

  1. Start ‘Hyper-V Manager’.
  2. Select the emulator you are trying to use.
  3. Right-click the selected emulator, and click ‘Settings’.
  4. Expand the ‘Hardware’ section.
  5. Click the plus-icon in front of ‘Processor’ to expand.
  6. Click ‘Compatibility’.
  7. Uncheck ‘Migrate to a physical computer with a different processor version’.

libaot-mscorlib.dll.so not found

  1. Open your solution in Visual Studio 2015.
  2. Right-click the Android project.
  3. Click ‘Properties’.
  4. In the ‘Android Options’ section, uncheck ‘Use Fast Deployment (debug mode only)’.