how to fix qr scanner is not scanning qr codes : Hello guys can someone help me.

Im trying to create an android app that can scan qr codes. But the problem is, it only autofocus on the qr code but not returning any results. Is there a way to fix this?

Im using zxing libraries