Zxing.net generate qr code xamarin.android null reference #393
-
I have a problem generating qr code. I used a sample from site: I have used the exact same code as in the example but I got a null reference error at this line: The problem only occurs BarcodeFormat.QR_CODE the others work well. In my project I have installed the next packages (the newest versions):
The null reference exception comes from the writer.encode message (please see my debug info): Does anyone experienced this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
https://stackoverflow.com/questions/70741623/zxing-net-generate-qr-code-xamarin-android-null-reference/70761473#70761473 |
Beta Was this translation helpful? Give feedback.
https://stackoverflow.com/questions/70741623/zxing-net-generate-qr-code-xamarin-android-null-reference/70761473#70761473
It's a bug inside the static initialization routines which occurs if some encodings (character sets) are missing. The next version (>0.16.7) will fix it.