【问题标题】:Unable to init ZXing on Android platform - Xamarin Forms application无法在 Android 平台上初始化 ZXing - Xamarin Forms 应用程序
【发布时间】:2016-06-07 13:34:26
【问题描述】:

我想知道是否有人可以帮助我解决在我的 Xamarin Form 应用程序中在 Android 平台上初始化 ZXing 条码阅读器的问题。

我成功添加了 ZXing.Net.Mobile 和 ZXing.Net 库,但是当我尝试使用以下代码在 Android 平台上初始化 ZXing 库时:

global::ZXing.Net.Mobile.Forms.Android.Platform.Init();

找不到需要的类,报错:

The type or namespace name 'Net' does not exist in the namespace 'ZXing' (are you missing an assembly reference?)

我对 Android 项目的参考:

有没有人遇到过类似的问题?

【问题讨论】:

    标签: android xamarin xamarin.forms zxing


    【解决方案1】:

    我已将ZXing.Net.MobileZXing.Net.Mobile.Forms 库更新到版本2.1.0-beta1,问题已解决。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-10-18
      • 1970-01-01
      • 2020-05-19
      相关资源
      最近更新 更多