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

220 строки
8.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Release Packaging Failed
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Release%20Packaging%20Failed&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="007766.html">
<LINK REL="Next" HREF="007776.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Release Packaging Failed</H1>
<B>was</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Release%20Packaging%20Failed&In-Reply-To="
TITLE="[mono-android] Release Packaging Failed">skylogdev at btconnect.com
</A><BR>
<I>Tue Dec 13 07:05:46 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="007766.html">[mono-android] Monodroid Digest, Vol 17, Issue 63
</A></li>
<LI>Next message: <A HREF="007776.html">[mono-android] Release Packaging Failed
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7772">[ date ]</a>
<a href="thread.html#7772">[ thread ]</a>
<a href="subject.html#7772">[ subject ]</a>
<a href="author.html#7772">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Using M4A V4 in VS2010, my previously working app now won't create a release
package. It works ok in debug mode on the emulator and San Francisco - not
using 'Fast Deployment though! The Build messages are below.
Have cleaned and rebuilt the app and re-installed MfA, but get the same
error.
Regards...Andrew
_GenerateJavaStubs:
ResolvedAssemblies:
obj\Release\android\assets\Skylog Pro.dll
obj\Release\android\assets\Mono.Android.dll
obj\Release\android\assets\mscorlib.dll
obj\Release\android\assets\System.Core.dll
obj\Release\android\assets\System.dll
obj\Release\android\assets\Mono.Security.dll
obj\Release\android\assets\Resco.Controls.dll
obj\Release\android\assets\OpenTK.dll
obj\Release\android\assets\Mono.Data.Sqlite.dll
obj\Release\android\assets\System.Data.dll
obj\Release\android\assets\System.Xml.dll
obj\Release\android\assets\System.Transactions.dll
ResolvedUserAssemblies:
obj\Release\android\assets\Skylog Pro.dll
obj\Release\android\assets\Resco.Controls.dll
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
The &quot;GenerateJavaStubs&quot; task failed unexpectedly. [E:\Android Project\Skylog
Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
System.InvalidOperationException: Sequence contains no matching element
[E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2
predicate) [E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at Xamarin.Android.Tasks.JavaTypeInfo.GetBaseConstructors(TypeDefinition
type) [E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at Xamarin.Android.Tasks.JavaTypeInfo..ctor(TypeDefinition type, String
outerType) [E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at Xamarin.Android.Tasks.Generator.CreateJavaSources(List`1 javaTypes,
String outputPath) [E:\Android Project\Skylog Pro\Skylog Pro\Skylog
Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at Xamarin.Android.Tasks.GenerateJavaStubs.Execute() [E:\Android
Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at
Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
[E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at
Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost,
ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean&amp; taskResult)
[E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
Done Building Project &quot;E:\Android Project\Skylog Pro\Skylog Pro\Skylog
Pro.csproj&quot; (SignAndroidPackage target(s)) -- FAILED.
Build FAILED.
&quot;E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj&quot;
(SignAndroidPackage target) (1) -&gt;
(_GenerateJavaStubs target) -&gt;
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
The &quot;GenerateJavaStubs&quot; task failed unexpectedly. [E:\Android Project\Skylog
Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
System.InvalidOperationException: Sequence contains no matching element
[E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2
predicate) [E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at Xamarin.Android.Tasks.JavaTypeInfo.GetBaseConstructors(TypeDefinition
type) [E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at Xamarin.Android.Tasks.JavaTypeInfo..ctor(TypeDefinition type, String
outerType) [E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at Xamarin.Android.Tasks.Generator.CreateJavaSources(List`1 javaTypes,
String outputPath) [E:\Android Project\Skylog Pro\Skylog Pro\Skylog
Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at Xamarin.Android.Tasks.GenerateJavaStubs.Execute() [E:\Android
Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at
Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
[E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
at
Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost,
ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean&amp; taskResult)
[E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
0 Warning(s)
1 Error(s)
--
View this message in context: <A HREF="http://mono-for-android.1047100.n5.nabble.com/Release-Packaging-Failed-tp5071255p5071255.html">http://mono-for-android.1047100.n5.nabble.com/Release-Packaging-Failed-tp5071255p5071255.html</A>
Sent from the Mono for Android mailing list archive at Nabble.com.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="007766.html">[mono-android] Monodroid Digest, Vol 17, Issue 63
</A></li>
<LI>Next message: <A HREF="007776.html">[mono-android] Release Packaging Failed
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7772">[ date ]</a>
<a href="thread.html#7772">[ thread ]</a>
<a href="subject.html#7772">[ subject ]</a>
<a href="author.html#7772">[ 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>