在 Eclipse 中运行 ZXING 库时出错
我正在尝试在我的 Windows PC 上运行 ZXING 库。我正在使用 Eclipse IDE。但是当我在 Eclipse 中打开项目文件时,它显示了不同的错误(如图所示
尽管我正在遵循此链接中提到的所有步骤ZXing 入门但是当我尝试构建 android 它失败,如下图所示:
我需要将项目交付给我的客户请帮忙,或者是否有任何其他适用于 Android 的条形码阅读器(我需要 UPC 阅读器)库。
I'm trying to run ZXING library on my windows PC. I'm using Eclipse IDE. But when I open the project file in my eclipse it's showing me different errors(As shown in the this image
Although I'm following all the steps mentioned in this link Getting Started with ZXing but when I try to build android it failed as shown in this image:
I need to deliver the project to my client. Please help or is there anyother barcode reader (I need UPC reader) library for Android available.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这不是zxing的问题。您似乎不了解如何使用 Eclipse,因为您实际上尚未将 zxing 库添加到您的项目中。我认为您需要花一些时间来适应您的 IDE。
第二个错误是因为 Proguard 优化器不支持 Windows。最好是访问基于 Mac 或 Linux 的计算机,因为您确实想要运行优化器。
This is not an issue with zxing. You don't appear to understand how to use Eclipse, as you have not actually added zxing libraries to your project. I think you would need to take some time to get used to your IDE.
The second error is because Windows is not supported by the Proguard optimizer. Best is to get access to a Mac or Linux-based machine, since you do want to run the optimizer.
zxing 的入门有时会有点令人困惑。它并不像看起来那么容易立即开始。我遇到了类似的问题,并创建了一个项目,以便其他人可以轻松遵循。
下载http://www.4shared.com/file/bFx8Y5Ys/zXingJune2010.html。如果您无法使其正常工作,请告诉我。
The zxing getting started is a bit confusing at times. Its not as easy as it seems to get started immediately. I faced similar issues and created a project for making it easy for the rest of the folks to follow.
Download http://www.4shared.com/file/bFx8Y5Ys/zXingJune2010.html. Let me know if you can not get it working.