QRCodeReaderView icon indicating copy to clipboard operation
QRCodeReaderView copied to clipboard

com.google.zxing.FormatException and com.google.zxing.ChecksumException

Open cutiko opened this issue 9 years ago • 8 comments

Greetings

Great library is just what I need to give my project extra value, thanks, but Im have this problem.

Im getting this exceptions com.google.zxing.FormatException and com.google.zxing.ChecksumException

First I thought I was doing something wrong, so I try using XZING QrReader and worked instantly, so I create another Qr using an online QR generator, same problem and XZING read it just like before.

Any Idea?

cutiko avatar Feb 28 '16 22:02 cutiko

Greetings

It seems I was doing something wrong with the Qr now is working, how ever I keep getting the same exceptions.

Just letting you know, great library, thanks :)

cutiko avatar Feb 28 '16 23:02 cutiko

I'm having the same issue (FormatException and ChecksumException).

How did you define the layout that has QRCodeReaderView?

I didn't use a full screen layout for QRCodeReaderView as below.

https://gist.github.com/booknara/0aa030b1fea90e528c94

Probably this scaling makes some problem I guess? @cutiko How about you?

booknara avatar Mar 03 '16 01:03 booknara

I have the same problem. Tried to create a smaller QRCodeReaderView but the problem continues.
It works for the first QR Code scan but for the next one throws

D/com.dlazaro66.qrcodereaderview.QRCodeReaderView: ChecksumException W/System.err: com.google.zxing.ChecksumException

I would like to change the autoFocus mode and test if it could work better, but the library is not configurable.

Chrison avatar May 09 '16 11:05 Chrison

Please try the new 2.0.1 version, and tell me if is still not working.

dlazaro66 avatar Aug 20 '16 08:08 dlazaro66

dlazaro, I am still facing the same issue even in 2.0.1 version. Do i need to set any other property/parameter to make it working ?

Thanks.

kalpesh-lakhani avatar Oct 12 '16 09:10 kalpesh-lakhani

@kalpesh-lakhani It should work fine. Which kind of QR are you trying to decode?

dlazaro66 avatar Nov 07 '16 23:11 dlazaro66

I'm having the same problem... the ZXING own app can scan every qrcode I throw at (my own generated using the ZXING library). The data is just plain text with errorcorrection level H.

Edit: Oh man... 20seconds after I posted this, I found the problem. I forgot to bind my overridden onQRCodeRead to setOnQRCodeReadListener()... Sorry. It works fine, now! Thanks for this library.

Tyrix avatar Mar 02 '17 16:03 Tyrix

its not working in nougat. its working fine in lower api. i tested on api 19, 21, and 23 and its working good on all devices.. but not in Android Version 7.0, what should i do for nougat. plz help me.

its say QR CODE not found, com.google.zxing.FormatException and com.google.zxing.ChecksumException

ZeroCool00 avatar May 18 '17 05:05 ZeroCool00