On Jul 23, 2012, at 12:46 PM, Goncalo Oliveira wrote:
> So... maybe there's a guide somewhere on this? Common errors, things to 
> avoid, anything?...

The most common source of errors is due to linking; a type/member that you're 
referencing no longer exists:

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

The actual exception as reported on logcat would be useful. The quick "is the 
linker causing this" check is to disable linking altogether, and see if you 
still get the same error.

Another source of errors is the assumption that an assembly is backed by a 
file; this is not the case in Release builds:

        
http://docs.xamarin.com/android/advanced_topics/architecture#Application_Packages

> Note: Assembly location information such as Assembly.Location and 
> Assembly.CodeBase cannot be relied upon in Release builds. They do not exist 
> as distinct filesystem entries, and they have no usable location.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to