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.

时间: 2024-11-01 14:07:27

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

Android Xposed框架出现java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation问题

第一次玩Xposed框架,按照多个demo的格式写了一个demo发现死活不进入 public abstract void handleLoadPackage(LoadPackageParam lpparam) throws Throwable; 方法,去/data/data/de.robv.android.xposed.installer/log/error.log查看,发现crash了 Loading modules from /data/app/com.example.xposed-1.ap

Xposed出现 java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

Xposed出现 java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation的解决方法 第一次在Xposed的框架下编写模块,在官方给的tutorial上就出现了问题,也安装好了就是不出效果,查看exposed的日志后天报出一堆错误,开头是 java.lang.IllegalAccessError: Class ref in pre-verified cla

java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementatio

错误信息: java.lang.IllegalAccessError: Class ref inpre-verified class resolved to unexpected implementatio 发生场景:在动态加载APK.jar的时候 错误分析:这种一般是引用重复(也就是你现在的APK和你要加载的APK.Jar之间有重复的引用),像在我的项目中遇到的问题就是:被加载的apk选择的最低版本在4.0以下,需要引用 android.support.v7.app.ActionBarActi

【转】Xposed出现 java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

Xposed出现 java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation的解决方法 第一次在Xposed的框架下编写模块,在官方给的tutorial上就出现了问题,也安装好了就是不出效果,查看exposed的日志后天报出一堆错误,开头是 java.lang.IllegalAccessError: Class ref in pre-verified cla

java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory

java.lang.IllegalAccessError: tried to access field org.slf4j.impl.Static.. java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory 使用hbm2java时,使用hibernate-distribution- 3.3.1

java.lang.IllegalAccessError: class com.google.protobuf.HBaseZeroCopyByteString

hadoop mr 或者 spark 操作 hbase时候就出现这个错误 这是hbase的bug,可在jira上看到该问题:https://issues.apache.org/jira/browse/HBASE-10304 报错信息: 15/08/17 19:28:33 ERROR yarn.ApplicationMaster: User class threw exception: org.apache.hadoop.hbase.DoNotRetryIOException: java.lang

java.lang.IllegalAccessError: tried to access method org.apache.commons.codec.digest.DigestUtils.getDigest(Ljava/lang/String;)Ljava/security/MessageDigest; from class com.xyb.mis.pay.jingdong.util.Sig

严重: Servlet.service() for servlet [springmvc] in context with path [/xyb-mis-web] threw exception [Handler processing failed; nested exception is java.lang.IllegalAccessError: tried to access method org.apache.commons.codec.digest.DigestUtils.getDige

java.lang.NoClassDefFoundError

02-15 09:57:49.170: D/ActivityThread(25210): handleBindApplication:com.poxiao.fish02-15 09:57:49.170: D/ActivityThread(25210): setTargetHeapUtilization:0.7502-15 09:57:49.170: D/ActivityThread(25210): setTargetHeapMinFree:209715202-15 09:57:49.200: E

Cglib学习报错 java.lang.reflect.InvocationTargetException-->null

package javacore.testForCglibProxy; import java.lang.reflect.Method; import net.sf.cglib.proxy.Enhancer; import net.sf.cglib.proxy.MethodInterceptor; import net.sf.cglib.proxy.MethodProxy; public class GetNewBook { public static void main(String[] ar