legend icon indicating copy to clipboard operation
legend copied to clipboard

java.lang.IncompatibleClassChangeError

Open lsjwzh opened this issue 7 years ago • 1 comments

    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:

lsjwzh avatar Mar 08 '17 16:03 lsjwzh

Android 4.3

lsjwzh avatar Mar 08 '17 16:03 lsjwzh