App crashes when trying to initialize the barcode scanner



So, the problem here is that our app isn't working, even though it was two days ago, initializing the barcode scanner correctly and stuff.

To verify whether it was a problem with the app itself, I installed the demo app (barcodescanner1) to understand the library code, and the demo isn't working either.

The device: TC510K, with android 6.0.1.

The only solution I saw here in the discussions so far was to add com.symbol.edmk.jar manually to the project, but I don't know if it makes sense in my case since:

    I'm already downloading the required dependency from jcenter (according to gradle, both my app and the demo are using com.symbol:emdk:7.3.14).
    The demo worked fine without having to do anything to it, and the dependency wasn't added in it manually as the solutions in the forum ask to do,
    Even if I have to actually add the jar, I can't seem to find it anywhere (aparently it comes within an installer specifically made for either windows or macos, and here at work I haven't found anybody with those OS as of yet).

I even reset the device to factory settings in case I configured something wrong on the device by accident, but it didn't help either.

Most likely I'm missing something, but I don't know what could it be, like, everything was working fine two days ago.

Anything that might help will be greatly appreciated.

Oh, and I forgot the error shown by logcat when trying to run the apps:

05-16 18:26:11.489 9057-9057/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-16 18:26:11.489 9057-9057/? A/DEBUG: Build fingerprint: 'Zebra/TC51/TC51:6.0.1/01-21-04.1-MN-00-UPDATE009/151:user/release-keys'
05-16 18:26:11.489 9057-9057/? A/DEBUG: Revision: '0'
05-16 18:26:11.489 9057-9057/? A/DEBUG: ABI: 'arm64'
05-16 18:26:11.489 9057-9057/? A/DEBUG: pid: 13505, tid: 13505, name: .barcodesample1  >>> com.symbol.barcodesample1

Submitted by Samuel Doherty on October 31, 2019 Permalink

Hi, did you manage to find the issue? I am having the exact same problem :( spent hours trying to find a solution