同样的代码执行到this.onClick(v);这句就报错了。 [*] Hook Start... {u'columnNumber': 1, u'description': u"TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])", u'fileName': u'java.js', u'lineNumber': 2725, u'type': u'error', u'stack': u"TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])\n at [anon] (duk_js_call.c:2847)\n at E (frida/node_modules/frida-java/lib/android.js:729)\n at resolveArtTargetMethodId (frida/node_modules/frida-java/lib/class-factory.js:1621)\n at input:1\n at [anon] (script1.js:6)\n at input:1"}
C:\Users\Administrator>python C:\Users\Administrator\Desktop\thj.py Traceback (most recent call last): File "C:\Users\Administrator\Desktop\thj.py", line 24, in <module> session=rdev.attach("com.toocms.baihuisc") File "D:\Program Files\Python36\lib\site-packages\frida\core.py", line 110, in attach return Session(self._impl.attach(self._pid_of(target))) frida.TransportError: the connection is closed