[mono-android] Something wrong

Jonathan Pryor jpryor at novell.com
Thu Mar 31 11:22:39 EDT 2011


On Mar 31, 2011, at 6:26 AM, Tamer Hatoum wrote:
> After I created new project just I build it and debug it on MONO 
> emulator , then it says the application stopped unexpectedly ;

The log that you provided doesn't contain the actual start of your Mono activity. :-(

For example, when you launch an activity, you should see a message similar to:

	I/ActivityManager(12944): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=MonoAndroidApplication1.MonoAndroidApplication1/monoandroidapplication1.Activity1 } from pid 24175 

Specifically, some line matching the regex:

	^I.*ActivityManager.*Starting: Intent

and containing the package name for your application (which is probably MonoAndroidApplication1.MonoAndroidApplication1 in your case).

A message matching that does not exist in the log you provided; it instead looks like it contains everything from system boot until the Launcher is visible.

You should try re-launching your app and then looking for matching messages in the output, then provide everything after the matching "Starting: Intent" line.

Thanks,
 - Jon



More information about the Monodroid mailing list