Sorry, recreating the whole obfuscation step fixed the issue.

Meanwhile I got this funny Exception from mono:


"D:\...\XXXX.csproj" (SignAndroidPackage target) (1) ->
(_GenerateJavaStubs target) -> 
  C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:
The "GenerateJavaStubs" task failed unexpectedly. [D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:
System.ArgumentOutOfRangeException: Specified argument was out of the range
of valid values. [D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at Mono.Collections.Generic.Collection`1.get_Item(Int32 index)
[D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at
Android.App.IntentFilterAttribute.<FromTypeDefinition>c__Iterator3.MoveNext()
[D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
[D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)
[D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at System.Xml.Linq.XContainer.Add(Object content) [D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at
Xamarin.Android.Tasks.ManifestDocument.ToElement[TAttribute](TypeDefinition
type, String name, Func`2 parser, Func`2 toElement, Action`2 update)
[D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at
Xamarin.Android.Tasks.ManifestDocument.ActivityFromTypeDefinition(TypeDefinition
type, String name) [D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at Xamarin.Android.Tasks.ManifestDocument.Merge(List`1 subclasses, List`1
selectedWhitelistAssemblies, Boolean embed) [D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at Xamarin.Android.Tasks.GenerateJavaStubs.Execute() [D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at
Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
[D:\...\XXXX.csproj]
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018:   
at
Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost,
ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)
[D:\...\XXXX.csproj]

It seems like CryptoObfuscator messes something in Attributes.
I removed the attributes, put them in Manifest.xml.
Works now like a charm.



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Obfuscator-process-broken-tp5711104p5711118.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to