mail-archives/monodroid/2011-December/007584.html

82 строки
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Packaging fails under Mono for Android 4.0
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Packaging%20fails%20under%20Mono%20for%20Android%204.0&In-Reply-To=CAL5j%3DpiZCtcU-LQrbCBJ0o5wSEuHHdtX_25TFwnUB9X0mbXujQ%40mail.gmail.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="007626.html">
<LINK REL="Next" HREF="007539.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Packaging fails under Mono for Android 4.0</H1>
<B>Jonathan Pryor</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Packaging%20fails%20under%20Mono%20for%20Android%204.0&In-Reply-To=CAL5j%3DpiZCtcU-LQrbCBJ0o5wSEuHHdtX_25TFwnUB9X0mbXujQ%40mail.gmail.com"
TITLE="[mono-android] Packaging fails under Mono for Android 4.0">jonp at xamarin.com
</A><BR>
<I>Tue Dec 6 10:35:13 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="007626.html">[mono-android] Packaging fails under Mono for Android 4.0
</A></li>
<LI>Next message: <A HREF="007539.html">[mono-android] Crash with Mono 4.0
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7584">[ date ]</a>
<a href="thread.html#7584">[ thread ]</a>
<a href="subject.html#7584">[ subject ]</a>
<a href="author.html#7584">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Dec 6, 2011, at 3:14 AM, Jens Boye Hansen wrote:
&gt;<i> Packaging failed
</I>&gt;<i> Could not create the Android package. See exception for more details.
</I>
By any chance, are you obfuscating your assemblies? Alternatively, do you have a _really_ big assembly? Based on the implementation of ByteBuffer.ReadUInt32():
<A HREF="https://github.com/mono/mono/blob/master/mcs/class/Mono.Cecil/Mono.Cecil.PE/ByteBuffer.cs#L97">https://github.com/mono/mono/blob/master/mcs/class/Mono.Cecil/Mono.Cecil.PE/ByteBuffer.cs#L97</A>
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
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="007626.html">[mono-android] Packaging fails under Mono for Android 4.0
</A></li>
<LI>Next message: <A HREF="007539.html">[mono-android] Crash with Mono 4.0
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7584">[ date ]</a>
<a href="thread.html#7584">[ thread ]</a>
<a href="subject.html#7584">[ subject ]</a>
<a href="author.html#7584">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
mailing list</a><br>
</body></html>