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

Android Studio Dolphin | 2021.3.1 Patch 1预览问题 #262

Open
jzlhll opened this issue Oct 25, 2022 · 1 comment
Open

Android Studio Dolphin | 2021.3.1 Patch 1预览问题 #262

jzlhll opened this issue Oct 25, 2022 · 1 comment

Comments

@jzlhll
Copy link

jzlhll commented Oct 25, 2022

新版无法正常,预览,会提示预览报错。
java.lang.NoSuchMethodError: 'android.webkit.WebSettings com.github.lzyzsd.jsbridge.BridgeWebView.getSettings()'
at com.github.lzyzsd.jsbridge.BridgeWebView.init(BridgeWebView.java:71)
at com.github.lzyzsd.jsbridge.BridgeWebView.(BridgeWebView.java:45)

The following classes could not be instantiated:
- com.typhur.module.base.typhur.view.TyphurWebView (Open Class, Show Exception, Clear Cache)
Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE.
If this is an unexpected error you can also try to build the project, then manually refresh the layout.

是不是应该把init()函数添加一下View.isInEditMode()控制下?

@keluokeda
Copy link

同样有这个问题

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