errorandroid.util.AndroidRuntimeException: Can not install IActivityManagerNative hook

GitHub | c1024 | 2 months ago
  1. 0

    4.0.1版本 installHook会报异常

    GitHub | 2 months ago | c1024
    errorandroid.util.AndroidRuntimeException: Can not install IActivityManagerNative hook

    Root Cause Analysis

    1. errorandroid.util.AndroidRuntimeException

      Can not install IActivityManagerNative hook

      at me.ele.amigo.hook.IActivityManagerHook.onInstall()
    2. me.ele.amigo
      HookFactory.install
      1. me.ele.amigo.hook.IActivityManagerHook.onInstall(IActivityManagerHook.java:87)
      2. me.ele.amigo.hook.HookFactory.installHook(HookFactory.java:23)
      3. me.ele.amigo.hook.HookFactory.install(HookFactory.java:17)
      3 frames
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    4. me.ele.amigo
      Amigo.onCreate
      1. me.ele.amigo.reflect.MethodUtils.invokeStaticMethod(MethodUtils.java:33)
      2. me.ele.amigo.reflect.MethodUtils.invokeStaticMethod(MethodUtils.java:40)
      3. me.ele.amigo.Amigo.installHook(Amigo.java:188)
      4. me.ele.amigo.Amigo.runPatchApk(Amigo.java:158)
      5. me.ele.amigo.Amigo.onCreate(Amigo.java:112)
      5 frames
    5. Android Platform
      ActivityThread.handleBindApplication
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
      2 frames