[英]import cannot be resolved for ZXing java project
I'm trying to use ZXing with eclipse 我正在尝试将ZXing与Eclipse结合使用
I've tried importing the jars I found here 我尝试导入在这里找到的罐子
Eclipse still can't seem to find these imports Eclipse似乎仍然找不到这些导入
import com.google.zxing.common.BitMatrix;
import com.google.zxing.common.HybridBinarizer;
import com.google.zxing.qrcode.QRCodeReader;
import com.google.zxing.qrcode.QRCodeWriter;
Which is odd because import com.google.zxing.*;
这很奇怪,因为
import com.google.zxing.*;
works fine 工作正常
Maybe these are no longer part of the JAR? 也许这些不再是JAR的一部分?
What have I missed? 我错过了什么?
因为您的库是空的,所以白色软件包意味着没有类文件。
I think I had the wrong jar
file 我认为我的
jar
文件错误
I now use zxing_core.jar
我现在使用
zxing_core.jar
Not sure what those others were supposed to be... 不确定其他人应该是什么...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.