This is my environment version:
"frida-compile": "^19.0.4"
After I compiled and ran the script, an exception occurred.
TypeError: cannot read property 'getApplicationContext' of null
at getContext (/src/xxx/debug.js:23999)
at (/src/xxx/debug.js:23943)
at (/src/xxx/debug.js:12660)
at perform (/src/xxx/debug.js:23002)
at getVersionName (/src/xxx/debug.js:23947)
at (/src/xxx/debug.js:24053)
at (/src/xxx/debug.js:12660)
at _performPendingVmOps (/src/xxx/debug.js:23077)
at (/src/xxx/debug.js:23066)
at apply (native)
at handleMethodInvocation (/src/xxx/debug.js:22328)
at (/src/xxx/debug.js:22294)
I hope his exception message points to the pre-compiled file such as **.ts, rather than to the compiled js
This is my environment version:
"frida-compile": "^19.0.4"
After I compiled and ran the script, an exception occurred.
TypeError: cannot read property 'getApplicationContext' of null
at getContext (/src/xxx/debug.js:23999)
at (/src/xxx/debug.js:23943)
at (/src/xxx/debug.js:12660)
at perform (/src/xxx/debug.js:23002)
at getVersionName (/src/xxx/debug.js:23947)
at (/src/xxx/debug.js:24053)
at (/src/xxx/debug.js:12660)
at _performPendingVmOps (/src/xxx/debug.js:23077)
at (/src/xxx/debug.js:23066)
at apply (native)
at handleMethodInvocation (/src/xxx/debug.js:22328)
at (/src/xxx/debug.js:22294)
I hope his exception message points to the pre-compiled file such as **.ts, rather than to the compiled js