Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo run crash! #10

Open
goodmanlee opened this issue Jun 15, 2016 · 1 comment
Open

demo run crash! #10

goodmanlee opened this issue Jun 15, 2016 · 1 comment

Comments

@goodmanlee
Copy link

I just run the demo in android 5.1 and 6.0 both are crashed.can the project work? it happend when hook the toast.show,hnnnnnnn,can you give me a way the fix that?

06-15 17:19:04.732 14798-14798/com.legend.demo I/art: Late-enabling -Xcheck:jni
06-15 17:19:04.852 14798-14798/com.legend.demo E/art: invalid stream - arg reg >= reg size (5 >= 5) in /data/data/com.legend.demo/files/instant-run/dex/slice-slice_1-classes.dex
06-15 17:19:04.852 14798-14798/com.legend.demo E/art: invalid stream - arg reg >= reg size (5 >= 5) in /data/data/com.legend.demo/files/instant-run/dex/slice-slice_1-classes.dex
06-15 17:19:04.853 14798-14798/com.legend.demo E/art: invalid stream - arg reg >= reg size (5 >= 5) in /data/data/com.legend.demo/files/instant-run/dex/slice-slice_1-classes.dex
06-15 17:19:04.887 14798-14798/com.legend.demo I/art: Verification error in void com.legend.demo.MainActivity$4.onClick(android.view.View)
06-15 17:19:04.887 14798-14798/com.legend.demo I/art: void com.legend.demo.MainActivity$4.onClick(android.view.View) failed to verify: void com.legend.demo.MainActivity$4.onClick(android.view.View): [0x1D] 'this' argument 'Reference: android.widget.Toast' not instance of 'Reference: com.legend.demo.App'
06-15 17:19:04.887 14798-14798/com.legend.demo E/art: Verification failed on class com.legend.demo.MainActivity$4 in /data/data/com.legend.demo/files/instant-run/dex/slice-slice_1-classes.dex because: Verifier rejected class com.legend.demo.MainActivity$4 due to bad method void com.legend.demo.MainActivity$4.onClick(android.view.View)
06-15 17:19:04.888 14798-14798/com.legend.demo E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.legend.demo, PID: 14798
java.lang.VerifyError: Verifier rejected class com.legend.demo.MainActivity$4 due to bad method void com.legend.demo.MainActivity$4.onClick(android.view.View) (declaration of 'com.legend.demo.MainActivity$4' appears in /data/data/com.legend.demo/files/instant-run/dex/slice-slice_1-classes.dex)
at com.legend.demo.MainActivity.onCreate(MainActivity.java:61)
at android.app.Activity.performCreate(Activity.java:6107)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2594)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2710)
at android.app.ActivityThread.access$800(ActivityThread.java:179)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1561)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5803)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1010)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
06-15 17:19:04.944 14798-14798/com.legend.demo I/Process: Sending signal. PID: 14798 SIG: 9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants