Skip to content

Cannot trace any function - java.lang.ClassNotFoundException #8

@Aldenar

Description

@Aldenar

I'm trying to trace functions of a specific class of an old old game with broken in-apps.

Having decompiled the game through apktool, I found a class I'm interested.
But no matter how I run the trace function, the game launches, then frida throws an error: Error: java.lang.ClassNotFoundException: Didn't find class "com.game.tka" on path: DexPathList[[zip file "/data/app/~~tnL0853xrVQX1h4toIMrDA==/com.game.tka-aq3_iPPP9AhvI_iyOxSG6g==/base.apk"],nativeLibraryDirectories=[/data/app/~~tnL0853xrVQX1h4toIMrDA==/com.game.tka-aq3_iPPP9AhvI_iyOxSG6g==/lib/arm64, /system/lib64, /system_ext/lib64]]
The main app class is com.game.tka, and I'd like to trace methods of com.game.tka.Dungeons, trace("com.game.tka.Dungeons") doesn't work however.

Am I doing something wrong, or is this script no longer maintained and possibly broken?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions