Skip to content

the class is not find after asm modify class  #1

@Poney1

Description

@Poney1

我这边订阅了 android开发高手课, 然后 在练习demo时 使用了asm 修改了类,都达到了目的,但是运行的时候报以下这个错误,老师能否指导一下,
Process: xp.com.myapplication4, PID: 24629
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{xp.com.myapplication4/xp.com.myapplication4.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "xp.com.myapplication4.MainActivity" on path: DexPathList[[zip file "/data/app/xp.com.myapplication4-XALL7UBA17oDaPjNH7766Q==/base.apk"],nativeLibraryDirectories=[/data/app/xp.com.myapplication4-XALL7UBA17oDaPjNH7766Q==/lib/arm64, /system/lib64, /vendor/lib64]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions