Closed Owenli0202 closed 6 years ago
检查一下你的java代码里是不是有其他加载了so的类在patch加载之前提前被引用了?
没有被提前应用,在7.0以上系统,三星S8上面出现概率最高
2 java.lang.System.loadLibrary(System.java:1567)
3 com.fenqile.c.b.
看错误栈是有极光推送调起来的
它的初始化比tinker更早?
有可能是这个SO的内部加载是每次都会new一个classloader去加载的,导致同一个so被不同的classloader加载了
14812-06 10:27:27.943 27554 27554 E Tinker.UncaughtHandler: TinkerUncaughtHandler catch exception:java.lang.UnsatisfiedLinkError: Shared library "/data/app/com.fenqile.fenqile-1/lib/arm/libstlport_shared.so" already opened by ClassLoader 0x100243; can't open in ClassLoader 0xffd8bf34
这是微信开源的xlog需要的so,如果是so内部每次都new一个classloader应该是必现的才对,但是实际上手偶现的
没有比tinker早
同出现此问题,求解决方案
请教一下这个问题是怎么解决的?我也出现了
同求
怎么解决的
Issue/提问须知
在提交issue之前,我们应该先查询是否已经有相关的issue以及常见问题。提交issue时,我们需要写明issue的原因,以及编译或运行过程的日志(加载进程以及Patch进程)。issue需要以下面的格式: