繁体   English   中英

Xamarin Java绑定库-Sinch

[英]Xamarin Java Binding Library - Sinch

我在通过Sinch Android API在Xamarin中创建Java绑定库时遇到问题。 似乎没有链接jar文件中包含的所有类文件。

obj\Debug\generated\src\Com.Sinch.Android.Rtc.Internal.Client.ConfigRefresher.cs(9,87,9,121): error CS0234: The type or namespace name 'UserAgentMethodInvocationScheduler' does not exist in the namespace 'Com.Sinch.Android.Rtc.Internal.Client' (are you missing an assembly reference?)

obj\Debug\generated\src\Com.Sinch.Android.Rtc.Internal.Client.HouseKeeper.cs(9,83,9,117): error CS0234: The type or namespace name 'UserAgentMethodInvocationScheduler' does not exist in the namespace 'Com.Sinch.Android.Rtc.Internal.Client' (are you missing an assembly reference?)

obj\Debug\generated\src\Com.Rebtel.Repackaged.Com.Google.Gson.Internal.Bind.TypeAdapters.cs(942,25,942,30): error CS0111: Type 'Com.Rebtel.Repackaged.Com.Google.Gson.Internal.Bind.TypeAdapters.EnumTypeAdapter' already defines a member called 'Write' with the same parameter types

我在这里使用3.4.1 Android API: https//www.sinch.com/downloads/

我正在使用来自https://github.com/NAXAM/sinch-verification-android-binding的 Sinch绑定。

需要注意的一点是:如果您直接从GitHub链接上方添加引用到您的项目中,则会遇到很多编译时错误。

使用Nuget包代替
安装包Naxam.SinchVerification.Droid

它工作正常。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM