How to resolve the error: "The XXXX application has stopped"?

9

Good afternoon,

I have an application in the language C # that develops an application for android (using xamarin). The application works normally for android versions 2, 3, 4 and 5. However, using a device with android 6 (marshmallow), the application loads but randomly locks by displaying the following message on the device screen : "XXXXX application stopped" (XXXXX is the name of my application).

When this message occurs, the following exception is thrown in Visual Studio :

  

Debugger lost connection to the running application. Likely this means   the application terminated unexpectedly.

     

More details can be found in the device's debug log:

     

link

     

More Details:

     

Mono.Debugger.Soft.VMDisconnectedException: Exception from   type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown. in   Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set,   Int32 command, PacketWriter packet) in   Mono.Debugger.Soft.Connection.Object_GetInfo (Int64 id) in   Mono.Debugger.Soft.VirtualMachine.GetObject [T] (Int64 id, Int64   domain_id, Int64 type_id) in   Mono.Debugger.Soft.VirtualMachine.GetObject [T] (Int64 id) in   Mono.Debugger.Soft.Event.get_Thread () in   Mono.Debugging.Soft.SoftDebuggerSession.HandleThreadStartEvents (ThreadStartEvent []   events) in   Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet (EventSet is)
  in Mono.Debugging.Soft.SoftDebuggerSession.EventHandler ()

I have tried to download the API 23, I tried to update the JDK, I tried to change the "target" in the "manifest" file. But I did not succeed. Anyone know how to fix this problem?

Thank you in advance.

    
asked by anonymous 11.10.2016 / 20:39

1 answer

5

It's hard to help, without even knowing which version of xamarin you use. On the internet there are several reports of users suffering from the same problem, but in versions older than the current one.

I recommend you upgrade your xamarin and perform a clean installation.

(I wanted this 'answer' to be a comment, as it did not solve the problem directly, but I do not have enough reputation in the StackOverflow PT forums.)

    
11.10.2016 / 20:58