[mono-android] Build fails with Mono 4.0

Andreia Gaita shana at xamarin.com
Mon Dec 5 18:34:30 EST 2011


Thanks for the stacktrace. Does it still fail if you clean and rebuild?

andreia gaita

On Mon, Dec 5, 2011 at 11:25 PM, tsukrov <tsukrov at chessbase.com> wrote:

>
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> Unerwarteter Fehler bei der BuildApk-Aufgabe.
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> System.ArgumentException: Ein Element mit dem gleichen Schl ssel wurde
> bereits hinzugef gt. [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value,
> Boolean add) [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei Ionic.Zip.ZipFile._InternalAddEntry(ZipEntry ze)
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei Ionic.Zip.ZipFile.AddFile(String fileName, String
> directoryPathInArchive) [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei Xamarin.Android.Tasks.BuildApk.AddNativeLibraries(ZipFile apk)
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei Xamarin.Android.Tasks.BuildApk.Execute()
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei
>
> Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei
>
> Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
> taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost
> taskHost,
> ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> Die Erstellung des Projekts "C:\XXX\Apps\XXX\XXX\XXX.csproj" ist
> abgeschlossen, SignAndroidPackage Ziel(e) -- FEHLER.
>
> Fehler beim Buildvorgang.
>
> "C:\XXX\Apps\XXX\XXX\XXX.csproj" (SignAndroidPackage Ziel) (1) ->
> (_BuildApkEmbed Ziel) ->
>   C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> Unerwarteter Fehler bei der BuildApk-Aufgabe.
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> System.ArgumentException: Ein Element mit dem gleichen Schl ssel wurde
> bereits hinzugef gt. [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value,
> Boolean add) [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei Ionic.Zip.ZipFile._InternalAddEntry(ZipEntry ze)
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei Ionic.Zip.ZipFile.AddFile(String fileName, String
> directoryPathInArchive) [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei Xamarin.Android.Tasks.BuildApk.AddNativeLibraries(ZipFile apk)
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei Xamarin.Android.Tasks.BuildApk.Execute()
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei
>
> Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
> C:\Program Files
> (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(708,3): error MSB4018:
> bei
>
> Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
> taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost
> taskHost,
> ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)
> [C:\XXX\Apps\XXX\XXX\XXX.csproj]
>
>
> Here's the German stack from the MSBuild.
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Build-fails-with-Mono-4-0-tp5050479p5050491.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodroid/attachments/20111205/c4b9f1f8/attachment-0001.html 


More information about the Monodroid mailing list