Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
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/0x8D. Make sure other views do not use the same id. in android.view.View.onRestoreInstanceState (View.java:20863) #345

Description

@isax5

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/0x8D. Make sure other views do not use the same id.

Link to App Center

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