frida 版本过高报错
{
"type": "error",
"description": "TypeError: r.art::mirror::Object::Clone is not a function",
"stack": "TypeError: r.art::mirror::Object::Clone is not a function\n at Kt (frida/node_modules/frida-java-bridge/lib/android.js:1184:1)\n at Gt.replace (frida/node_modules/frida-java-bridge/lib/android.js:1029: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:424:24)\n at init (/internal-agent.js:51: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)\n at frida/node_modules/frida-java-bridge/index.js:213:1\n at c.perform (frida/node_modules/frida-java-bridge/lib/vm.js:11:1)",
"fileName": "frida/node_modules/frida-java-bridge/lib/android.js",
"lineNumber": 1184,
"columnNumber": 1
}
Android版本5.1.1
在Android 系统上 Frida高版本发生的错误
解决办法:
卸载原来版本的firda ,安装历史版本的firda
pip install frida==12.1.0 pip install frida-tools==1.2.0
根据需要下载frida 版本号
https://github.com/frida/frida/releases/tag/12.1.0
我这里下载的是
frida-server-12.1.0-android-x86.xz
好记忆不如烂笔头