Closed hyxbiao closed 9 years ago
DexposedBridge.findAndHookMethod(Fragment.class, "onCreate", Bundle.class, onCreateHook); DexposedBridge.findAndHookMethod(Fragment.class, "onDestroy", onDestroyHook); 不起作用
哦,描述不准确,我有个用于动态加载的dex,dex里包含Fragment并且使用dexposed hook Fragment,在App里采用DexClassLoader加载该dex时,App里Fragment不能被hook到
父ClassLoader的问题,不是bug,已解决
DexposedBridge.findAndHookMethod(Fragment.class, "onCreate", Bundle.class, onCreateHook); DexposedBridge.findAndHookMethod(Fragment.class, "onDestroy", onDestroyHook); 不起作用