Hi!

We're trying to create a binding for Zooz. We've created the project, set
the jar to InputJar but when trying to compile, we got this:
What could be the problem here?
There are a lot of unknown types but for example after I've added
com.apache.http.client as ReferenceJar the build still gives me the warning.

Thanks, David

/Library/Frameworks/Mono.framework/External/xbuild/Novell/Xamarin.Android.Bindings.targets:
Error: Tool exited with code: 1. Output: Type com.paypal.android.MEP.a.a:
FxDG naming violation: Type name 'a' matches namespace part 'A'.
Type com.paypal.android.MEP.b.b: FxDG naming violation: Type name 'b'
matches namespace part 'B'.
Type com.paypal.android.a.a: FxDG naming violation: Type name 'a' matches
namespace part 'A'.
Type com.paypal.android.a.a.a: FxDG naming violation: Type name 'a' matches
namespace part 'A'.
Type com.paypal.android.b.b: FxDG naming violation: Type name 'b' matches
namespace part 'B'.
Type com.zooz.android.lib.a.a: FxDG naming violation: Type name 'a' matches
namespace part 'A'.
Type com.zooz.android.lib.b.a.a: FxDG naming violation: Type name 'a'
matches namespace part 'A'.
Type com.zooz.android.lib.b.b.b: FxDG naming violation: Type name 'b'
matches namespace part 'B'.
Type com.zooz.android.lib.c.c: FxDG naming violation: Type name 'c' matches
namespace part 'C'.
Type com.zooz.android.lib.d.a.a: FxDG naming violation: Type name 'a'
matches namespace part 'A'.
Type com.zooz.android.lib.d.a.a.a: FxDG naming violation: Type name 'a'
matches namespace part 'A'.
resolving assembly /Developer/MonoAndroid/usr/lib/mono/2.1/mscorlib.dll
Type com.zooz.android.lib.d.a.b.b: FxDG naming violation: Type name 'b'
matches namespace part 'B'.
Type com.zooz.android.lib.d.c.c: FxDG naming violation: Type name 'c'
matches namespace part 'C'.
Type com.zooz.android.lib.model.a.a: FxDG naming violation: Type name 'a'
matches namespace part 'A'.
resolving assembly /Developer/MonoAndroid/usr/lib/mono/2.1/System.dll
resolving assembly /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll
resolving assembly
/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll
resolving assembly /Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll
Unknown return type org.apache.http.impl.client.DefaultHttpClient found in
method I in type Com.Paypal.Android.A.B
Unknown return type java.util.Vector found in method B in type
Com.Paypal.Android.MEP.PayPalActivity
Unknown return type java.util.Vector found in method A in type
Com.Paypal.Android.MEP.IPaymentAdjuster
Class Com.Paypal.Android.A.C has unknown base type
org.apache.http.conn.ssl.SSLSocketFactory
Unknown parameter type org.w3c.dom.Document found in method A in type
Com.Paypal.Android.A.M
Unknown parameter type org.w3c.dom.Document found in method A in type
Com.Paypal.Android.A.M
Unknown parameter type org.w3c.dom.NodeList found in method A in type
Com.Paypal.Android.A.M
Unknown parameter type org.w3c.dom.Document found in method B in type
Com.Paypal.Android.A.M
Unknown parameter type org.w3c.dom.Document found in method C in type
Com.Paypal.Android.A.M
Unknown parameter type org.w3c.dom.Element found in method A in type
Com.Paypal.Android.A.A.A
Unknown parameter type org.w3c.dom.Element found in method A in type
Com.Paypal.Android.A.A.F
unexpected field type java.util.Vector
Unknown parameter type org.w3c.dom.Element found in method A in type
Com.Paypal.Android.A.A.C
Unknown parameter type org.w3c.dom.Element found in method A in type
Com.Paypal.Android.A.A.G
Unknown parameter type org.w3c.dom.Element found in method A in type
Com.Paypal.Android.A.A.H
Unknown parameter type org.w3c.dom.Element found in method A in type
Com.Paypal.Android.A.A.K
Unknown parameter type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.Model.A
Unknown parameter type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.Model.E
Unknown parameter type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.Model.B
Unknown parameter type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.Model.H
Unknown parameter type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.Model.K
unexpected field type java.text.SimpleDateFormat
Unknown parameter type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.Model.M
unexpected field type java.text.SimpleDateFormat
Unknown parameter type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.Model.C
Unknown return type java.lang.Void found in method D in type
Com.Zooz.Android.Lib.A.I
unexpected field type java.text.SimpleDateFormat
Unknown return type java.util.Stack found in method H in type
Com.Zooz.Android.Lib.C.Aa
Unknown return type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.C.O
Unknown return type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.C.O
Unknown return type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.C.R
Unknown parameter type org.json.JSONObject found in method A in type
Com.Zooz.Android.Lib.Model.I

Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
  at MonoDroid.Generation.GenBase.GetAllDerivedInterfaces
(System.Collections.Generic.List`1 ifaces) [0x00000] in <filename unknown>:0 
  at MonoDroid.Generation.GenBase.GetAllDerivedInterfaces () [0x00000] in
<filename unknown>:0 
  at MonoDroid.Generation.GenBase.FillProperties () [0x00000] in <filename
unknown>:0 
  at Xamarin.Android.Binder.CodeGenerator.Run
(Xamarin.Android.Binder.CodeGeneratorOptions options) [0x00000] in <filename
unknown>:0 
  at Xamarin.Android.Binder.CodeGenerator.Main (System.String[] args)
[0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object
reference not set to an instance of an object
  at MonoDroid.Generation.GenBase.GetAllDerivedInterfaces
(System.Collections.Generic.List`1 ifaces) [0x00000] in <filename unknown>:0 
  at MonoDroid.Generation.GenBase.GetAllDerivedInterfaces () [0x00000] in
<filename unknown>:0 
  at MonoDroid.Generation.GenBase.FillProperties () [0x00000] in <filename
unknown>:0 
  at Xamarin.Android.Binder.CodeGenerator.Run
(Xamarin.Android.Binder.CodeGeneratorOptions options) [0x00000] in <filename
unknown>:0 
  at Xamarin.Android.Binder.CodeGenerator.Main (System.String[] args)
[0x00000] in <filename unknown>:0 
 (ZoozAndroidLib)



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/MonoDroid-binding-build-fails-tp5711037.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