我是Xamarin.Forms的新手,想要使用Zxing的条形码扫描器。我安装了下面这个nuget插件:
1) ZXing.Net.Mobile for Forms
2) ZXing.Net.Mobile -> 我在某处看到它可以帮助解决我的问题,所以也安装了。
据我了解,我需要在Android项目的主Activity中添加以下行:
但是尽管我已经安装了这些包,仍然出现了以下错误: The type or namespace name 'Andorid' does not exist in the namespace 'ZXing.Net.Mobile.Forms' (are you missing an assembly reference?) ScannerZXing.Android
我该怎么办?(对项目进行清理和重建没有帮助)
另外,我想补充一下,它已经被添加到项目的引用中了。
感谢您的回答。
据我了解,我需要在Android项目的主Activity中添加以下行:
但是尽管我已经安装了这些包,仍然出现了以下错误: The type or namespace name 'Andorid' does not exist in the namespace 'ZXing.Net.Mobile.Forms' (are you missing an assembly reference?) ScannerZXing.Android
我该怎么办?(对项目进行清理和重建没有帮助)
另外,我想补充一下,它已经被添加到项目的引用中了。
感谢您的回答。