I have implemented project by using third party library(zxing) after implementation project is working fine then after I have written one test project to unit test my projec
I changed test project setting in Intelij Idea. Go to Modules -> Dependencies, then set scope of the tested project to 'Provided'.