首页 > 代码库 > java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation getting while running test project?

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

转摘:http://stackoverflow.com/questions/11155340/java-lang-illegalaccesserror-class-ref-in-pre-verified-class-resolved-to-unexpe

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.

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