Fixed Android crash bug when ZXing standalone barcode scanner is
installed on the device