shuihuadx / XposedHook

免重启Xposed模块改进
321 stars 103 forks source link

修复安卓9找不到类的问题 #7

Closed chengxuncc closed 3 years ago

chengxuncc commented 4 years ago

修复了#6 安卓9找不到类的错误,编写了一个简单的示例模块,增加使用说明。

TomasThibaut commented 4 years ago

修复了#6 安卓9找不到类的错误,编写了一个简单的示例模块,增加使用说明。

Method forName = Class.class.getDeclaredMethod("forName", String.class, boolean.class, ClassLoader.class); clazz = (Class<?>) forName.invoke(null, className, true, pathClassLoader); 反射调用forClass还是会触发检测机制啊, 抛出反射异常

chengxuncc commented 4 years ago

哪里调用forClass了