Android Question Google ML KIT based QR Code scanner Error

I am trying to use the fixed google ML Kit based scan code from this thread : https://www.b4x.com/android/forum/t...e-scanner-based-on-ml-kit-not-working.161137/
However , despite using 'fixed' code (https://www.b4x.com/android/forum/t...ed-on-ml-kit-not-working.161137/#post-1010426) , I still getting this error. Any idea what to change to make it work?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…