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

锤子手机T1,使用DroidPlugin后,所有引用webview的地方都会导致app Crash。 #137

Open
DavidYes opened this issue Mar 2, 2016 · 3 comments
Labels

Comments

@DavidYes
Copy link

DavidYes commented Mar 2, 2016

日志03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: java.lang.ClassCastException: $Proxy18 cannot be cast to com.android.webview.chromium.WebViewChromium
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at com.android.webview.chromium.WebViewContentsClientAdapter.onProgressChanged(WebViewContentsClientAdapter.java:271)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at com.android.org.chromium.android_webview.AwWebContentsDelegateAdapter.onLoadProgressChanged(AwWebContentsDelegateAdapter.java:40)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at com.android.org.chromium.components.web_contents_delegate_android.WebContentsDelegateAndroid.notifyLoadProgressChanged(WebContentsDelegateAndroid.java:89)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:27)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at android.os.Looper.loop(Looper.java:136)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5094)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at java.lang.reflect.Method.invokeNative(Native Method)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at java.lang.reflect.Method.invoke(Method.java:515)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:702)
03-02 14:12:19.361 1026-1026/com.example.TestPlugin:PluginP02 W/System.err: at dalvik.system.NativeStart.main(Native Method)

@cmzy cmzy added the bug label Mar 2, 2016
cmzy referenced this issue Mar 11, 2016
…fix for https://github.com/Qihoo360/DroidPlugin/issues/137

这个webviewhook在锤子手机上有问题,先disable掉,但是插件无法读取asset中的静态文件了。
@jtbuaa
Copy link

jtbuaa commented Mar 25, 2016

T1的确起不来,但T2可以。T1是4.4,T2是5.1

@jtbuaa
Copy link

jtbuaa commented Apr 14, 2016

不过最近T1又好了,奇怪

@cmzy
Copy link
Member

cmzy commented Apr 15, 2016

我处理过了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants