frida 中断后重启服务异常 Error: invalid address

报错信息

image.png
{"type":"error","description":"Error: invalid address","stack":"Error: invalid address\n    at Object.value [as patchCode] (frida/runtime/core.js:170:1)\n    at Jt (frida/node_modules/frida-java-bridge/lib/android.js:945:1)\n    at zt.activate (frida/node_modules/frida-java-bridge/lib/android.js:998:1)\n    at Ut.replace (frida/node_modules/frida-java-bridge/lib/android.js:1045:1)\n    at Function.set [as implementation] (frida/node_modules/frida-java-bridge/lib/class-factory.js:1010:1)\n    at Function.set [as implementation] (frida/node_modules/frida-java-bridge/lib/class-factory.js:925:1)\n    at installLaunchTimeoutRemovalInstrumentation (/internal-agent.js:249:24)\n    at init (/internal-agent.js:33:3)\n    at c.perform (frida/node_modules/frida-java-bridge/lib/vm.js:11:1)\n    at g._performPendingVmOps (frida/node_modules/frida-java-bridge/index.js:238:1)","fileName":"frida/runtime/core.js","lineNumber":170,"columnNumber":1}

处理办法

方案一、重启手机
方案二、运行adb shell setenforce 0

你可能感兴趣的:(frida 中断后重启服务异常 Error: invalid address)