[mono-android] Packaging fails under Mono for Android 4.0

Jonathan Pryor jonp at xamarin.com
Tue Dec 6 10:35:13 EST 2011


On Dec 6, 2011, at 3:14 AM, Jens Boye Hansen wrote:
> Packaging failed
> Could not create the Android package. See exception for more details.

By any chance, are you obfuscating your assemblies? Alternatively, do you have a _really_ big assembly? Based on the implementation of ByteBuffer.ReadUInt32():

	https://github.com/mono/mono/blob/master/mcs/class/Mono.Cecil/Mono.Cecil.PE/ByteBuffer.cs#L97

The best I can figure is that either it's processing a method so large that position+1 is causing an overflow in the indexer, or some form of obfuscation is really confusing Cecil. :-/

Thanks,
 - Jon



More information about the Monodroid mailing list