legend
legend copied to clipboard
java.lang.IncompatibleClassChangeError
try {
Method originMethod = View.class.getDeclaredMethod("requestLayout");
Method hookMethod = Profiling.class.getDeclaredMethod("requestLayoutHook", Object.class);
HookManager.getDefault().hookMethod(originMethod, hookMethod);
} catch (NoSuchMethodException e) {
e.printStackTrace();
}
。。。。。。
public static void requestLayoutHook(Object view) {
HookManager.getDefault().callSuper(view);
}
此时在有些调用requestlayout的地方,会有以下异常 java.lang.IncompatibleClassChangeError:
Android 4.3