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
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
Fix java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class androidx.appcompat.widget.SearchView$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/0x7E. Make sure other views do not use the same id. in android.view.View.onRestoreInstanceState (View.java:18704) #346
java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class androidx.appcompat.widget.SearchView$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/0x7E. Make sure other views do not use the same id.
Version 4.2.8(1685918420)
Stacktrace
Reason
java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class androidx.appcompat.widget.SearchView$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/0x7E. Make sure other views do not use the same id.
Link to App Center