Xamarin绑定Android库,Buid失败

时间:2016-06-14 05:17:32

标签: android xamarin visual-studio-2015

我正在开发一个相机项目,我创建了一个Bindings Library(Android)项目并导入了" .jar"提交给" Jars"夹。构建输出:

E:\Examples\03Android\BindingsLibrary\ClassLibrary1\ClassLibrary1\obj\Debug\generated\src\Com.Hikvision.Audio.AudioEngineCallBack.cs(104,77,104,95): error CS0234: The type or namespace name 'IAudioBaseCallBack' does not exist in the namespace 'Com.Hikvision.Audio' (are you missing an assembly reference?)

E:\Examples\03Android\BindingsLibrary\ClassLibrary1\ClassLibrary1\obj\Debug\generated\src\Com.Videogo.DNS.DClass.cs(50,30,50,44): error CS0115: 'DClass.DClassMnemonic.ThresholdClass': no suitable method found to override

E:\Examples\03Android\BindingsLibrary\ClassLibrary1\ClassLibrary1\obj\Debug\generated\src\Com.Videogo.DNS.DNAMERecord.cs(12,30,12,39): warning CS0109: The member 'DNAMERecord.class_ref' does not hide an inherited member. The new keyword is not required.

......等等 如何解决这些错误和警告?

1 个答案:

答案 0 :(得分:0)

来自de documentation:

  

生成Java绑定时,有几个常见错误   您可能遇到的情况。本文列出了这些场景,   解释可能的原因,并提出解决问题的建议   错误。

所以这不是一个自动盲目过程。

从我看到的情况来看,你需要troubleshoot本身。