Advertisement

Android 插件化pre-verify问题分析及解决办法

阅读量:

pre-verify问题简析与解决方案

  • 引言
      • 存在的问题
    • 原理分析

      • 预验证
      • 虚拟环境触发该问题的前提条件
      • 实践操作部分
    • 附录

      • Tinker

前言

近期在Android5.0以下版本的设备中,发现了一个异常问题:Class ref in pre-verified class resolved to unexpected implementation

【存档

问题

复制代码
    FATAL EXCEPTION: main
    Process: com.xxx.yyy:plugin1, PID: 10850
    java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
    at com.xxx.xxx.playerlib.a.a(CommonPlayer.kt:27)
    at com.xxx.xxx.yyy.zzz.a.a(BaseLiveProxy.java:56)
    at com.xxx.xxx.yyy.zzz.c.a(RecommendLiveProxy.java:32)
    at c

全部评论 (0)

还没有任何评论哟~