java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation getting while running test project?

后端 未结 9 1837
难免孤独
难免孤独 2020-11-29 06:37

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

9条回答
  •  天命终不由人
    2020-11-29 07:15

    You are getting this error because of third party library reference added two times. You have added the application path in the build path of test project. so the library reference automatically added to test project". Remove any library reference in the test project under properties->android.

    FYI, click here for detail explanation.

提交回复
热议问题