9
Good afternoon,
I have an application in language C# which develops an app for android (using Xamarin). The application works normally for android of versions 2, 3, 4 and 5. However, using a device with android 6 (marshmallow), the application is loaded but randomly hangs displaying the following message on the device screen: "The XXXXX app has stopped" (XXXXX is the name of my application).
When this message occurs, on Visual Studio the following exception shall be made:
Debugger Lost Connection to the running application. Likely this Means the application terminated unexpectedly.
More Details can usually be found in the device’s debug log:
http://docs.xamarin.com/android/advanced_topics/android_debug_log
More Details:
Mono.Debugger.Soft.Vmdisconnectedexception: Exception to type 'Mono.Debugger.Soft.Vmdisconnectedexception' was triggered. 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 es)
in Mono.Debugging.Soft.SoftDebuggerSession.Eventhandler()
I already tried to download API 23, tried to update JDK, tried to change "target" in "manifest" file. But I was not successful. Does anyone know how to solve this problem?
Thanks in advance.
The app maybe, I say maybe, is crashing because you have to address the permission issues. You need to control the permissions of your app on Android 6.0 and higher. Read here: https://developer.android.com/training/permissions/requesting.html
– viana
Face I have similar problem, in Debugger mode works normal, already in the release I present the same problem.
– Matheus Miranda