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

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.

Leave a Comment