You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
场景为:
badgeview 版本1.1.1
主界面下方使用RadioGroup含有固定个数的RadioBtn,然后通过badgeview给radiobtn设置红点
自己手机没有遇到这样的崩溃事件
崩溃机型:OPPO R9 Plustm A
Cpu架构:arm64-v8a
具体日志为:
java.lang.RuntimeException:Unable to start activity ComponentInfo{com.tsou.yezonghui/com.tsou.yezonghui.activity.MainHolderActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.CompoundButton$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/btn1. Make sure other views do not use the same id.
2 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2430)
3 ......
4 Caused by:
5 java.lang.IllegalArgumentException:Wrong state class, expecting View State but received class android.widget.CompoundButton$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/btn1. Make sure other views do not use the same id.
6 android.view.View.onRestoreInstanceState(View.java:13851)
7 android.view.View.dispatchRestoreInstanceState(View.java:13827)
8 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2904)
9 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2910)
10 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2910)
11 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2910)
12 android.view.View.restoreHierarchyState(View.java:13805)
13 com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2035)
14 android.app.Activity.onRestoreInstanceState(Activity.java:1054)
15 com.tsou.yezonghui.activity.k.onRestoreInstanceState(Unknown Source)
16 android.app.Activity.performRestoreInstanceState(Activity.java:1009)
17 android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1165)
18 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2403)
19 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2503)
20 android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4099)
21 android.app.ActivityThread.access$1000(ActivityThread.java:160)
22 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1414)
23 android.os.Handler.dispatchMessage(Handler.java:102)
24 android.os.Looper.loop(Looper.java:179)
25 android.app.ActivityThread.main(ActivityThread.java:5491)
26 java.lang.reflect.Method.invoke(Native Method)
27 java.lang.reflect.Method.invoke(Method.java:372)
28 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:961)
29 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
The text was updated successfully, but these errors were encountered:
场景为:
badgeview 版本1.1.1
主界面下方使用RadioGroup含有固定个数的RadioBtn,然后通过badgeview给radiobtn设置红点
自己手机没有遇到这样的崩溃事件
崩溃机型:OPPO R9 Plustm A
Cpu架构:arm64-v8a
具体日志为:
java.lang.RuntimeException:Unable to start activity ComponentInfo{com.tsou.yezonghui/com.tsou.yezonghui.activity.MainHolderActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.CompoundButton$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/btn1. Make sure other views do not use the same id.
2 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2430)
3 ......
4 Caused by:
5 java.lang.IllegalArgumentException:Wrong state class, expecting View State but received class android.widget.CompoundButton$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/btn1. Make sure other views do not use the same id.
6 android.view.View.onRestoreInstanceState(View.java:13851)
7 android.view.View.dispatchRestoreInstanceState(View.java:13827)
8 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2904)
9 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2910)
10 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2910)
11 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2910)
12 android.view.View.restoreHierarchyState(View.java:13805)
13 com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2035)
14 android.app.Activity.onRestoreInstanceState(Activity.java:1054)
15 com.tsou.yezonghui.activity.k.onRestoreInstanceState(Unknown Source)
16 android.app.Activity.performRestoreInstanceState(Activity.java:1009)
17 android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1165)
18 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2403)
19 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2503)
20 android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4099)
21 android.app.ActivityThread.access$1000(ActivityThread.java:160)
22 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1414)
23 android.os.Handler.dispatchMessage(Handler.java:102)
24 android.os.Looper.loop(Looper.java:179)
25 android.app.ActivityThread.main(ActivityThread.java:5491)
26 java.lang.reflect.Method.invoke(Native Method)
27 java.lang.reflect.Method.invoke(Method.java:372)
28 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:961)
29 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
The text was updated successfully, but these errors were encountered: