Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Failed to debug Xamarin.Forms android project from Visual Studio

$
0
0

Hi,
Recently, I probably did something that altered my configuration as I cannot anymore debug my android app either on Visual Studio Android emulator or even on a connected android device.
Everything goes well until starting debug phase: compilation is ok (no error) and deployment also (application is installed on device). ADB seems to be connected. I can run the application either in the Simulator or on the device.
I found a log folder in AppData/Xamarin folder and found a potential reason. Can someone help be solve the problem and tell me what is wrong in my installation ?
I tried a repair on Visual Studio installation and reinstalled Visual Studio for Xamarin 4.3.0.784 (this seems to be the last stable version). Is there something else I have to repair or to reinstall ?

============
Xamarin.VisualStudio.ProgressReport|Error|0|System.Runtime.InteropServices.COMException (0x89710016): Unable to start program 'Mono'.

General Exception
at Microsoft.VisualStudio.Shell.Interop.IVsDebugger4.LaunchDebugTargets4(UInt32 DebugTargetCount, VsDebugTargetInfo4[] pDebugTargets, VsDebugTargetProcessInfo[] pLaunchResults)
at Mono.Debugging.VisualStudio.DebugLauncher.StartDebugger(SoftDebuggerSession session, StartInfo startInfo)
at Mono.Debugging.VisualStudio.MonoDebuggerLauncher.StartSession(StartInfo startInfo, SoftDebuggerSession session)
at Xamarin.VisualStudio.Android.CommandHandlers.DebugCommandHandler.StartDebugger(IProgressReport progress, IAndroidProjectProperties properties, AndroidDevice device, String package, String activity, Project project) in C:\d\lanes\4033\73f58d6d\source\xamarinvs\src\Core\VisualStudio.Android\CommandHandlers\DebugCommandHandler.cs:line 106
at Xamarin.VisualStudio.Android.CommandHandlers.DebugCommandHandler.Execute(DebugCommand command, IProgressReport progress, CancellationToken cancellationToken) in C:\d\lanes\4033\73f58d6d\source\xamarinvs\src\Core\VisualStudio.Android\CommandHandlers\DebugCommandHandler.cs:line 60
at Xamarin.VisualStudio.Commands.CommandHandlerBase`1.Execute(TCommand command, CancellationToken cancellationToken) in C:\d\lanes\4033\73f58d6d\source\xamarinvs\src\Core\VisualStudio\Commands\CommandHandlerBase.cs:line 66

==========

Eric.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>