On Jul 11, 2012, at 8:51 AM, javitxin wrote:
> Thanks.. it worked.. but when opening the app it crashes...saying
...
> "the application has stopped unexpectedly. Please try again."

If you open the Android Debug Log:

        http://docs.xamarin.com/android/advanced_topics/android_debug_log

You will likely see a message such as:

        Unable to find application Mono.Android.DebugRuntime...

Debug .apk packages cannot run as-is; they require additional packages to be 
installed (in order to reduce the size of the Debug .apk). When you install 
using `adb install`, the other packages don't get installed, resulting in an 
app that won't launch.

If you can't install your app using the IDE, then you should instead attempt to 
install Debug packages using MSBuild or xbuild (on OS X):

        cd path\to\your\project
        MSBuild /t:Install YourProject.csproj

See also:

        
http://docs.xamarin.com/android/advanced_topics/build_process#Build_Targets

You can only use `adb install` to install Release packages.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to