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:
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.