0

I need to run my (Xamarin) android app on Microsoft Visual studio Android Emulator.

--Log after Build for apk is succeeds: 
2>Build succeeded.
2>Waiting for device..
2>Detecting installed packages
2>Detecting installed packages...
2>
2>Installing shared runtime
2>Target device is x86.
2>Installing the Mono shared runtime (x86 - 1443097651)...
2>
2>Installing platform framework
2>Installing the API 23 platform framework..
2>
2>Installing application on device
2>Copying application to device...
2>
2>Getting installation path...
2>Using fast dev path: /storage/emulated/0/Android/data/com.software_innovation.proarcmobile/files/.__override__
2>Synchronizing assemblies...
2>Synchronizing assemblies

It starts the apk in Emulator but suddenly stops the app and also debugger gets stopped without any message on output console.

I tried to start installed app without debugger attached, but doesn't start. Internet is working in Emulator. I've tried reinstalling vs_emulator.

Vishnu
  • 2,135
  • 2
  • 30
  • 51

1 Answers1

0

Have a look here: Xamarin Forms Android App Crashes Running Debug with VS Android Emulator

In short:

  • Start the Hyper-V manager
  • Select the emulator you are trying to use
  • Right-click, hit settings
  • Click processor
  • Click Compatibility
  • Set checkbox “Migrate to a physical computer with a different processor version”
Community
  • 1
  • 1
Zverev Evgeniy
  • 3,643
  • 25
  • 42