Error: Unable to determine ClassLinker field offsets

Open
#347 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, javascript
Domain
mobile-dev

Research direction

Start by reproducing the error on a physical Android 12 device and reading frida/node_modules/frida-java-bridge/lib/android.js around lines 416, 273, 188, and 16. Trace the ClassLinker field-offset detection during Java bridge initialization; done means initialization no longer reports this error on the affected device.

Written by the indexing model from the issue text.

Description

{"type":"error","description":"Error: Unable to determine ClassLinker field offsets","stack":"Error: Unable to determine ClassLinker field offsets\n at et (frida/node_modules/frida-java-bridge/lib/android.js:416:1)\n at Ve (frida/node_modules/frida-java-bridge/lib/android.js:273:1)\n at frida/node_modules/frida-java-bridge/lib/memoize.js:4:1\n at De (frida/node_modules/frida-java-bridge/lib/android.js:188:1)\n at Oe (frida/node_modules/frida-java-bridge/lib/android.js:16:1)\n at _tryInitialize (frida/node_modules/frida-java-bridge/index.js:29:1)\n at new _ (frida/node_modules/frida-java-bridge/index.js:21:1)\n at Object.4../lib/android (frida/node_modules/frida-java-bridge/index.js:330:1)\n at o (frida/node_modules/browser-pack/_prelude.js:1:1)\n at frida/node_modules/browser-pack/_prelude.js:1:1","fileName":"frida/node_modules/frida-java-bridge/lib/android.js","lineNumber":416,"columnNumber":1}

This error i am getting while running frida server on physical device android 12

Image

Dominant language
JavaScript
Stars
412
Forks
170
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from frida/frida-java-bridge

All issues in frida/frida-java-bridge

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.