WankkoRee / WebViewPP

Enable WebView debugging and add vConsole in it. Support WebView, TBS X5, UC U4, Crosswalk(XWalk), XWeb. 启用 WebView 调试并添加 vConsole,支持 WebView、TBS X5、UC U4、Crosswalk(XWalk)、XWeb。
539 stars 71 forks source link

Fix java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.AppCompat (or a descendant). in cn.wankkoree.xp.webviewpp.activity.App.$r8$lambda$gvqcTFMdPt1enzKNDBi8Al_bxu8 #24

Closed WankkoRee closed 1 year ago

WankkoRee commented 1 year ago

Version v3.0.0.176.1778b59(15)

Stacktrace

cn.wankkoree.xp.webviewpp.activity.App.$r8$lambda$gvqcTFMdPt1enzKNDBi8Al_bxu8;

cn.wankkoree.xp.webviewpp.activity.App$$ExternalSyntheticLambda49.onMenuItemClick;

androidx.appcompat.widget.PopupMenu$1.onMenuItemSelected (PopupMenu.java:113);

androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected (MenuBuilder.java:836);

androidx.appcompat.view.menu.MenuItemImpl.invoke (MenuItemImpl.java:159);

androidx.appcompat.view.menu.MenuBuilder.performItemAction (MenuBuilder.java:987);

androidx.appcompat.view.menu.MenuPopup.onItemClick (MenuPopup.java:128);

Reason

java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.AppCompat (or a descendant).

Link to App Center