I am trying to create a MonoDroid wrapper for the TouchDB-Android code available here:
https://github.com/couchbaselabs/TouchDB-Android.git I was able to successfully build the project in Eclipse. I created a TouchDBMono Java Bindings Library project and added the following Jars: jackson-core-asl-1.9.2.jar jackson-mapper-asl-1.9.2.jar touchdb-android.jar I thought I'd start with touchdb-android and then work on touchdb-android-ektorp, touchdb-android-javascript and touchdb-android-listener. I get the following error when building the bindings library: Unhandled Exception: System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at MonoDroid.Generation.CodeGenerationOptions.GetOutputName(String s) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.String.Join(String separator, IEnumerable`1 values) at MonoDroid.Generation.CodeGenerationOptions.GetOutputName(String s) at MonoDroid.Generation.CollectionSymbol.ToNative(CodeGenerationOptions opt, String varname) at MonoDroid.Generation.Method.GenerateCallback(StreamWriter sw, String indent, CodeGenerationOptions opt, GenBase type, String property_name, Boolean as_formatted) at MonoDroid.Generation.Method.Generate(StreamWriter sw, String indent, CodeGenerationOptions opt, GenBase type, Boolean generate_callbacks, Boolean force_override) at MonoDroid.Generation.ClassGen.GenMethods(StreamWriter sw, String indent, CodeGenerationOptions opt) at MonoDroid.Generation.ClassGen.Generate(StreamWriter sw, String indent, CodeGenerationOptions opt, GenerationInfo gen_info) at MonoDroid.Generation.ClassGen.Generate(CodeGenerationOptions opt, GenerationInfo gen_info) at Xamarin.Android.Binder.CodeGenerator.Run(CodeGeneratorOptions options) at Xamarin.Android.Binder.CodeGenerator.Main(String[] args) C:\Program Files (x86)\MSBuild\Novell\Xamarin.Android.Bindings.targets(197,5): error MSB6006: "generator.exe" exited with code -532462766. Done executing task "BindingsGenerator" -- FAILED. Done building target "GenerateBindings" in project "TouchDBMono.csproj" -- FAILED. Would appreciate any info on what might be wrong.
_______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
