Hello, I'm doing an assembly obfuscation (eazfuscator), and getting the following issue:
C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(690,3): error MSB4018: The "GenerateJavaStubs" task failed unexpectedly. C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(690,3): error MSB4018: System.ApplicationException: Failed to create JavaTypeInfo for class: ab ---> System.InvalidOperationException: The Name property must be a fully qualified 'package.TypeName' value, and no package was found for 'ab'. C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(690,3): error MSB4018: at Xamarin.Android.Tasks.JavaTypeInfo..ctor(TypeDefinition type, String outerType) C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(690,3): error MSB4018: at Xamarin.Android.Tasks.Generator.CreateJavaSources(List`1 javaTypes, String outputPath, Boolean useSharedRuntime, Boolean hasExportReference) C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(690,3): error MSB4018: --- End of inner exception stack trace --- C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(690,3): error MSB4018: at Xamarin.Android.Tasks.Generator.CreateJavaSources(List`1 javaTypes, String outputPath, Boolean useSharedRuntime, Boolean hasExportReference) C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(690,3): error MSB4018: at Xamarin.Android.Tasks.GenerateJavaStubs.Execute() The reason is obfuscator removes namespace information I belive, and java mapper doesn't like this. Is there any chance to fix this? Right now the only way to go is to exclude all the java-linked classes from obfuscation. But that makes obfuscation itself abit useless. Another problem I see is when I doing a strong 'unprintable renaming' obfuscation. Obfuscator renames classes/methods to unprintable characters, and GenerateJavaStubs creates 'invalid' java files. Is it possible to do some 'normalization' of symbols when generating .java - to support this? Igor
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid