Zxing barcode scanner snippet drops after few minutes

I am using a simple barcode scanner snippet from zxingfragmentlib on github.

It works well. But when I left the device in scan mode, it crashed after 3 or 4 minutes.

Also the only (red) things that I see in logcat are:

 10-14 14:37:42.914: E/dalvikvm(11025): Unexpected opcode(263) with kInstrCanBranch set 10-14 14:37:42.914: E/dalvikvm(11025): VM aborting 10-14 14:37:42.914: A/libc(11025): Fatal signal 6 (SIGABRT) at 0x00002b11 (code=-6), thread 11033 (Compiler) 

What is the problem and how can I fix it?

Thanks in advance!

+6
source share

Source: https://habr.com/ru/post/976712/


All Articles