Loading... ## 报错信息 这个一般都是模拟器会出现的问题 ![](http://type.zimopy.com/usr/uploads/2023/04/2089869963.png) ```js {"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` 最后修改:2023 年 04 月 28 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏