I filed a bug lime this awhile ago: https://bugzilla.xamarin.com/show_bug.cgi?id=6567 the generator is pretty bad at giving you useful error messages. Anyway you're missing a ] before /method.
-----Original Message----- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of mihaivader Sent: Wednesday, November 14, 2012 5:37 AM To: monodroid@lists.ximian.com Subject: [mono-android] Monodroid error - "generator.exe" exited with code 255 Hello, I'm trying to import this java library https://github.com/nostra13/Android-Universal-Image-Loader in my monodroid project but I'm having some trouble. 1. I've added the .jar file in a Java binding library project. 2. I've added some mappings in Metadata.xml <attr path="/api/package[@name=’com.nostra13.universalimageloader.cache.memory’]/class[@name=’FIFOLimitedMemoryCache’/method[@name=’removeNext’]" name="managedReturn">Java.Lang.Object</attr> <attr path="/api/package[@name=’com.nostra13.universalimageloader.cache.memory’]/class[@name=’LargestLimitedMemoryCache’/method[@name=’removeNext’]" name="managedReturn">Java.Lang.Object</attr> <attr path="/api/package[@name=’com.nostra13.universalimageloader.cache.memory’]/class[@name=’LRULimitedMemoryCache’/method[@name=’removeNext’]" name="managedReturn">Java.Lang.Object</attr> <attr path="/api/package[@name=’com.nostra13.universalimageloader.cache.memory’]/class[@name=’UsingFreqLimitedMemoryCache’/method[@name=’removeNext’]" name="managedReturn">Java.Lang.Object</attr> 3. I've also created a partial class which implements a method that needed to be overriden. With steps 2 and 3 I got rid off 5 build errors that I was getting.Now a I Just have this one "generator.exe" exited with code 255. I've looked in the build output and this seems to be the error Unhandled Exception: System.Xml.XPath.XPathException: '/api/package[@name='com.nostra13.universalimageloader.cache.memory']/class[@name='FIFOLimitedMemoryCache'/method[@name='removeNext']' has an invalid token. (TaskId:39) Any ideas? Thanks, Mihai -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Monodroid-error-generator-exe-exited-with-code-255-tp5712354.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 _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid