Debug not working in Monodroid with a Galaxy Nexus
- by MaxM
I'm starting to work with Monodroid testing on a Galaxy Nexus from MonoDevelop for Mac. Running the default Android project without debugging works. But if I try to debug it either says this in the Application Output pane:
Error trying to detect already running process
Or it outputs the following to logcat:
I/ActivityManager( 448): Start proc monotest.monotest for activity monotest.monotest/monotest.Activity1: pid=3075 uid=10068 gids={3003}
D/dalvikvm( 3063): GC_CONCURRENT freed 98K, 89% free 478K/4096K, paused 0ms+1ms
I/dalvikvm( 3075): Turning on JNI app bug workarounds for target SDK version 8...
V/PhoneStatusBar( 524): setLightsOn(true)
I/ActivityThread( 3075): Pub monotest.monotest.__mono_init__: mono.MonoRuntimeProvider
D/dalvikvm( 3075): Trying to load lib /data/data/monotest.monotest/lib/libmonodroid.so 0x41820850
D/dalvikvm( 3075): Added shared lib /data/data/monotest.monotest/lib/libmonodroid.so 0x41820850
D/OpenGLRenderer( 683): Flushing caches (mode 1)
E/mono ( 3075): WARNING: The runtime version supported by this application is unavailable.
E/mono ( 3075): Using default runtime: v2.0.50727
D/OpenGLRenderer( 683): Flushing caches (mode 0)
I/monodroid-gc( 3075): environment supports jni NewWeakGlobalRef
I/mono ( 3075): Stacktrace:
I/mono ( 3075):
D/AndroidRuntime( 3093):
D/AndroidRuntime( 3093): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 3093): CheckJNI is OFF
D/AndroidRuntime( 3093): Calling main entry com.android.commands.am.Am
D/dalvikvm( 3021): GC_CONCURRENT freed 359K, 3% free 15630K/16071K, paused 2ms+4ms
D/Zygote ( 119): Process 3075 terminated by signal (11)
I/ActivityManager( 448): Process monotest.monotest (pid 3075) has died.
I tried using another device (a Galaxy Tab) and it worked fine. I also tried the suggestion from here and it didn't help.