[mono-android] Release Packaging Failed
was
skylogdev at btconnect.com
Tue Dec 13 07:05:46 EST 2011
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 "GenerateJavaStubs" 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& taskResult)
[E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
Done Building Project "E:\Android Project\Skylog Pro\Skylog Pro\Skylog
Pro.csproj" (SignAndroidPackage target(s)) -- FAILED.
Build FAILED.
"E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj"
(SignAndroidPackage target) (1) ->
(_GenerateJavaStubs target) ->
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(584,3): error MSB4018:
The "GenerateJavaStubs" 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& taskResult)
[E:\Android Project\Skylog Pro\Skylog Pro\Skylog Pro.csproj]
0 Warning(s)
1 Error(s)
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Release-Packaging-Failed-tp5071255p5071255.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list