Skip to content

使用ASM插件会崩溃 #40

Open
Open
@guanbo123456

Description

使用ASM插件会崩溃
classpath 'com.qihoo360.argusapm:argus-apm-gradle-asm:3.0.1.1001'
使用这个版本后,发生崩溃
2019-05-15 17:45:32.949 16298-16298/com.yqxue.yqxue E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.yqxue.yqxue, PID: 16298
java.lang.VerifyError: Verifier rejected class cn.jpush.android.service.PushReceiver: void cn.jpush.android.service.PushReceiver.onReceive(android.content.Context, android.content.Intent) failed to verify: void cn.jpush.android.service.PushReceiver.onReceive(android.content.Context, android.content.Intent): [0x1D] register v4 has type Reference: java.lang.Object but expected Reference: android.content.Context (declaration of 'cn.jpush.android.service.PushReceiver' appears in /data/app/com.yqxue.yqxue-2/base.apk:classes2.dex)
at java.lang.Class.newInstance(Native Method)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3106)
at android.app.ActivityThread.-wrap18(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1641)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6385)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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