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

webview_flutter loading webpage always white screen #25262

Closed
Adiudiu opened this issue Dec 12, 2018 · 5 comments
Closed

webview_flutter loading webpage always white screen #25262

Adiudiu opened this issue Dec 12, 2018 · 5 comments
Labels
c: crash Stack traces logged to the console p: webview The WebView plugin package flutter/packages repository. See also p: labels. waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@Adiudiu
Copy link

Adiudiu commented Dec 12, 2018

When I use flutter plugin and open my webpage always white screen, But that doesn't happen with setting Android webView webSettings.setDomStorageEnabled(true) to load this webpage. I expect to webview_flutter plugin support the webSettings.setDomStorageEnabled(true) and other WebSettings settings , The following is the log information:

I/flutter (19871): ip = http://192.168.90.84/dist/index.html
E/BufferQueueProducer(19871): [] Can not get hwsched service
D/HwCust  (19871): Create obj success use class android.app.HwCustHwWallpaperManagerImpl
I/WebViewFactory(19871): Loading com.google.android.webview version 66.0.3359.126 (code 335912650)
D/HwFLClassLoader(19871): USE_FEATURE_LIST had not init! 
I/cr_LibraryLoader(19871): Time to load native libraries: 2 ms (timestamps 2442-2444)
I/chromium(19871): [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_LibraryLoader(19871): Expected native library version number "66.0.3359.126", actual native library version number "66.0.3359.126"
W/cr_ChildProcLH(19871): Create a new ChildConnectionAllocator with package name = com.google.android.webview, sandboxed = true
I/cr_BrowserStartup(19871): Initializing chromium process, singleProcess=false
I/cr_base (19871): Android Locale: zh_CN_#Hans requires .pak files: []
I/HwCust  (19871): Constructor found for class android.net.HwCustConnectivityManagerImpl
D/HwCust  (19871): Create obj success use class android.net.HwCustConnectivityManagerImpl
D/HwCust  (19871): Create obj success use class android.net.HwCustConnectivityManagerImpl
I/zygote64(19871): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$3>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote64(19871):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote64(19871):   at void io.flutter.plugins.webviewflutter.FlutterWebView.<init>(android.content.Context, io.flutter.plugin.common.BinaryMessenger, int, java.util.Map) (FlutterWebView.java:20)
I/zygote64(19871):   at io.flutter.plugin.platform.PlatformView io.flutter.plugins.webviewflutter.WebViewFactory.create(android.content.Context, int, java.lang.Object) (WebViewFactory.java:22)
I/zygote64(19871):   at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:130)
I/zygote64(19871):   at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:528)
I/zygote64(19871):   at void android.app.Dialog.show() (Dialog.java:389)
I/zygote64(19871):   at void android.app.Presentation.show() (Presentation.java:249)
I/zygote64(19871):   at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, java.lang.Object) (VirtualDisplayController.java:75)
I/zygote64(19871):   at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object) (VirtualDisplayController.java:47)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.createPlatformView(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:179)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:118)
I/zygote64(19871):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:200)
I/zygote64(19871):   at void io.flutter.view.FlutterNativeView.handlePlatformMessage(java.lang.String, byte[], int) (FlutterNativeView.java:163)
I/zygote64(19871):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote64(19871):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379)
I/zygote64(19871):   at void android.os.Looper.loop() (Looper.java:144)
I/zygote64(19871):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7425)
I/zygote64(19871):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote64(19871):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245)
I/zygote64(19871):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921)
I/zygote64(19871): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/system/app/WebViewGoogle/WebViewGoogle.apk"],nativeLibraryDirectories=[/system/app/WebViewGoogle/lib/arm64, /system/app/WebViewGoogle/WebViewGoogle.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64, /system/lib64, /vendor/lib64, /product/lib64]]
I/zygote64(19871):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote64(19871):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote64(19871):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote64(19871):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote64(19871):   at void io.flutter.plugins.webviewflutter.FlutterWebView.<init>(android.content.Context, io.flutter.plugin.common.BinaryMessenger, int, java.util.Map) (FlutterWebView.java:20)
I/zygote64(19871):   at io.flutter.plugin.platform.PlatformView io.flutter.plugins.webviewflutter.WebViewFactory.create(android.content.Context, int, java.lang.Object) (WebViewFactory.java:22)
I/zygote64(19871):   at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:130)
I/zygote64(19871):   at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:528)
I/zygote64(19871):   at void android.app.Dialog.show() (Dialog.java:389)
I/zygote64(19871):   at void android.app.Presentation.show() (Presentation.java:249)
I/zygote64(19871):   at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, java.lang.Object) (VirtualDisplayController.java:75)
I/zygote64(19871):   at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object) (VirtualDisplayController.java:47)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.createPlatformView(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:179)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:118)
I/zygote64(19871):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:200)
I/zygote64(19871):   at void io.flutter.view.FlutterNativeView.handlePlatformMessage(java.lang.String, byte[], int) (FlutterNativeView.java:163)
I/zygote64(19871):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote64(19871):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379)
I/zygote64(19871):   at void android.os.Looper.loop() (Looper.java:144)
I/zygote64(19871):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7425)
I/zygote64(19871):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote64(19871):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245)
I/zygote64(19871):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921)
I/zygote64(19871): 
I/zygote64(19871): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$3>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote64(19871):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote64(19871):   at void io.flutter.plugins.webviewflutter.FlutterWebView.<init>(android.content.Context, io.flutter.plugin.common.BinaryMessenger, int, java.util.Map) (FlutterWebView.java:20)
I/zygote64(19871):   at io.flutter.plugin.platform.PlatformView io.flutter.plugins.webviewflutter.WebViewFactory.create(android.content.Context, int, java.lang.Object) (WebViewFactory.java:22)
I/zygote64(19871):   at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:130)
I/zygote64(19871):   at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:528)
I/zygote64(19871):   at void android.app.Dialog.show() (Dialog.java:389)
I/zygote64(19871):   at void android.app.Presentation.show() (Presentation.java:249)
I/zygote64(19871):   at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, java.lang.Object) (VirtualDisplayController.java:75)
I/zygote64(19871):   at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object) (VirtualDisplayController.java:47)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.createPlatformView(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:179)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:118)
I/zygote64(19871):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:200)
I/zygote64(19871):   at void io.flutter.view.FlutterNativeView.handlePlatformMessage(java.lang.String, byte[], int) (FlutterNativeView.java:163)
I/zygote64(19871):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote64(19871):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379)
I/zygote64(19871):   at void android.os.Looper.loop() (Looper.java:144)
I/zygote64(19871):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7425)
I/zygote64(19871):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote64(19871):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245)
I/zygote64(19871):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921)
I/zygote64(19871): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/system/app/WebViewGoogle/WebViewGoogle.apk"],nativeLibraryDirectories=[/system/app/WebViewGoogle/lib/arm64, /system/app/WebViewGoogle/WebViewGoogle.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64, /system/lib64, /vendor/lib64, /product/lib64]]
I/zygote64(19871):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote64(19871):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote64(19871):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote64(19871):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote64(19871):   at void io.flutter.plugins.webviewflutter.FlutterWebView.<init>(android.content.Context, io.flutter.plugin.common.BinaryMessenger, int, java.util.Map) (FlutterWebView.java:20)
I/zygote64(19871):   at io.flutter.plugin.platform.PlatformView io.flutter.plugins.webviewflutter.WebViewFactory.create(android.content.Context, int, java.lang.Object) (WebViewFactory.java:22)
I/zygote64(19871):   at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:130)
I/zygote64(19871):   at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:528)
I/zygote64(19871):   at void android.app.Dialog.show() (Dialog.java:389)
I/zygote64(19871):   at void android.app.Presentation.show() (Presentation.java:249)
I/zygote64(19871):   at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, java.lang.Object) (VirtualDisplayController.java:75)
I/zygote64(19871):   at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object) (VirtualDisplayController.java:47)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.createPlatformView(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:179)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:118)
I/zygote64(19871):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:200)
I/zygote64(19871):   at void io.flutter.view.FlutterNativeView.handlePlatformMessage(java.lang.String, byte[], int) (FlutterNativeView.java:163)
I/zygote64(19871):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote64(19871):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379)
I/zygote64(19871):   at void android.os.Looper.loop() (Looper.java:144)
I/zygote64(19871):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7425)
I/zygote64(19871):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote64(19871):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245)
I/zygote64(19871):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921)
I/zygote64(19871): 
I/zygote64(19871): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$3>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote64(19871):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote64(19871):   at void io.flutter.plugins.webviewflutter.FlutterWebView.<init>(android.content.Context, io.flutter.plugin.common.BinaryMessenger, int, java.util.Map) (FlutterWebView.java:20)
I/zygote64(19871):   at io.flutter.plugin.platform.PlatformView io.flutter.plugins.webviewflutter.WebViewFactory.create(android.content.Context, int, java.lang.Object) (WebViewFactory.java:22)
I/zygote64(19871):   at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:130)
I/zygote64(19871):   at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:528)
I/zygote64(19871):   at void android.app.Dialog.show() (Dialog.java:389)
I/zygote64(19871):   at void android.app.Presentation.show() (Presentation.java:249)
I/zygote64(19871):   at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, java.lang.Object) (VirtualDisplayController.java:75)
I/zygote64(19871):   at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object) (VirtualDisplayController.java:47)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.createPlatformView(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:179)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:118)
I/zygote64(19871):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:200)
I/zygote64(19871):   at void io.flutter.view.FlutterNativeView.handlePlatformMessage(java.lang.String, byte[], int) (FlutterNativeView.java:163)
I/zygote64(19871):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote64(19871):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379)
I/zygote64(19871):   at void android.os.Looper.loop() (Looper.java:144)
I/zygote64(19871):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7425)
I/zygote64(19871):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote64(19871):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245)
I/zygote64(19871):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921)
I/zygote64(19871): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/system/app/WebViewGoogle/WebViewGoogle.apk"],nativeLibraryDirectories=[/system/app/WebViewGoogle/lib/arm64, /system/app/WebViewGoogle/WebViewGoogle.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64, /system/lib64, /vendor/lib64, /product/lib64]]
I/zygote64(19871):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote64(19871):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote64(19871):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote64(19871):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote64(19871):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote64(19871):   at void io.flutter.plugins.webviewflutter.FlutterWebView.<init>(android.content.Context, io.flutter.plugin.common.BinaryMessenger, int, java.util.Map) (FlutterWebView.java:20)
I/zygote64(19871):   at io.flutter.plugin.platform.PlatformView io.flutter.plugins.webviewflutter.WebViewFactory.create(android.content.Context, int, java.lang.Object) (WebViewFactory.java:22)
I/zygote64(19871):   at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:130)
I/zygote64(19871):   at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:528)
I/zygote64(19871):   at void android.app.Dialog.show() (Dialog.java:389)
I/zygote64(19871):   at void android.app.Presentation.show() (Presentation.java:249)
I/zygote64(19871):   at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, java.lang.Object) (VirtualDisplayController.java:75)
I/zygote64(19871):   at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object) (VirtualDisplayController.java:47)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.createPlatformView(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:179)
I/zygote64(19871):   at void io.flutter.plugin.platform.PlatformViewsController.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsController.java:118)
I/zygote64(19871):   at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:200)
I/zygote64(19871):   at void io.flutter.view.FlutterNativeView.handlePlatformMessage(java.lang.String, byte[], int) (FlutterNativeView.java:163)
I/zygote64(19871):   at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote64(19871):   at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379)
I/zygote64(19871):   at void android.os.Looper.loop() (Looper.java:144)
I/zygote64(19871):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7425)
I/zygote64(19871):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote64(19871):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245)
I/zygote64(19871):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921)
I/zygote64(19871): 
W/cr_media(19871): Requires BLUETOOTH permission
D/HwRTBlurUtils(19871): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3@84fb512, Nhwext : 0, get Blur : disable with , null
D/HwRTBlurUtils(19871): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3@84fb512, Nhwext : 0, get Blur : disable with , null
D/OpenGLRenderer(19871):   HWUI Binary is  enabled
D/OpenGLRenderer(19871):   HWUI Binary is  enabled
D/NetworkSecurityConfig(19871): No Network Security Config specified, using platform default
W/libEGL  (19871): load: so=libEGL_vr.so
W/libEGL  (19871): dlopen failed: library "libEGL_vr.so" not found
W/libEGL  (19871): load: so=libEGL_vr.so
W/libEGL  (19871): dlopen failed: library "libEGL_vr.so" not found
I/PressGestureDetector(19871): HiTouch restricted: Sub windows restricted.
W/Settings(19871): mValues not put! needsGenerationTracker: true currentGeneration: -1 name: accessibility_captioning_enabled value: null
W/VideoCapabilities(19871): Unrecognized profile/level 1/32 for video/mp4v-es
W/VideoCapabilities(19871): Unrecognized profile/level 32768/2 for video/mp4v-es
W/VideoCapabilities(19871): Unrecognized profile/level 32768/64 for video/mp4v-es
W/VideoCapabilities(19871): Unsupported mime video/mpeg
W/VideoCapabilities(19871): Unrecognized profile/level 0/0 for video/mpeg2
W/VideoCapabilities(19871): Unrecognized profile/level 0/2 for video/mpeg2
W/VideoCapabilities(19871): Unrecognized profile/level 0/3 for video/mpeg2
I/VideoCapabilities(19871): Unsupported profile 5 for video/mpeg2
I/chatty  (19871): uid=10485(u0_a485) Chrome_InProcGp identical 2 lines
I/VideoCapabilities(19871): Unsupported profile 5 for video/mpeg2
D/mali_winsys(19871): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
W/VideoCapabilities(19871): Unsupported mime video/vc1
W/VideoCapabilities(19871): Unsupported mime video/x-pn-realvideo
W/VideoCapabilities(19871): Unsupported mime video/clic
I/zygote64(19871): Do partial code cache collection, code=28KB, data=29KB
I/zygote64(19871): After code cache collection, code=28KB, data=29KB
I/zygote64(19871): Increasing code cache capacity to 128KB
W/cr_CrashFileManager(19871): /data/user/0/com.starcor.flutterbigdata/cache/WebView/Crash Reports does not exist or is not a directory
I/VideoCapabilities(19871): Unsupported profile 4 for video/mp4v-es
W/cr_MediaCodecUtil(19871): HW encoder for video/avc is not available on this device.
W/libEGL  (19871): load: so=libEGL_vr.so
W/libEGL  (19871): dlopen failed: library "libEGL_vr.so" not found
W/libEGL  (19871): load: so=libEGL_vr.so
W/libEGL  (19871): dlopen failed: library "libEGL_vr.so" not found
I/zygote64(19871): Do partial code cache collection, code=52KB, data=51KB
I/zygote64(19871): After code cache collection, code=52KB, data=51KB
I/zygote64(19871): Increasing code cache capacity to 256KB
I/zygote64(19871): Compiler allocated 6MB to compile void android.view.ViewRootImpl.performTraversals()
W/libEGL  (19871): load: so=libEGL_vr.so
W/libEGL  (19871): dlopen failed: library "libEGL_vr.so" not found
W/libEGL  (19871): load: so=libEGL_vr.so
W/libEGL  (19871): dlopen failed: library "libEGL_vr.so" not found
W/libEGL  (19871): load: so=libEGL_vr.so
W/libEGL  (19871): dlopen failed: library "libEGL_vr.so" not found
W/libEGL  (19871): load: so=libEGL_vr.so
W/libEGL  (19871): dlopen failed: library "libEGL_vr.so" not found
I/chromium(19871): [INFO:CONSOLE(50)] "Uncaught TypeError: Cannot read property 'getItem' of null", source: http://192.168.90.84/dist/js/app.2cdac70722d410d5ede9.js (50)
@zoechi
Copy link
Contributor

zoechi commented Dec 12, 2018

Can you reproduce with any publicly available web page?
Do other web pages work?

Please add the output of flutter doctor -v.

@zoechi zoechi added plugin p: webview The WebView plugin waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds c: crash Stack traces logged to the console labels Dec 12, 2018
@Adiudiu
Copy link
Author

Adiudiu commented Dec 12, 2018

I test some public network has not been reactivated. But I use the web page(http://192.168.90.84/dist/index.html) has The HTML DOM Storage mechanism in LAN.

the output of flutter doctor -v:

[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.17134.407], locale zh-CN)
    • Flutter version 1.0.0 at C:\Flutter\flutter
    • Framework revision 5391447fae (12 days ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at C:\Users\lhj\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[!] IntelliJ IDEA Ultimate Edition (version 2018.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.3
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[√] Connected device (1 available)
    • STF AL00 • 8BN0217808001466 • android-arm64 • Android 8.0.0 (API 26)

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 12, 2018
@zoechi
Copy link
Contributor

zoechi commented Dec 12, 2018

If there is no way for us to reproduce it's difficult to diagnose and fix.

@zoechi zoechi added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 12, 2018
@zoechi
Copy link
Contributor

zoechi commented Jan 11, 2019

Duplicate of #26347

@zoechi zoechi marked this as a duplicate of #26347 Jan 11, 2019
@zoechi zoechi closed this as completed Jan 11, 2019
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 31, 2021
@flutter-triage-bot flutter-triage-bot bot added the package flutter/packages repository. See also p: labels. label Jul 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: crash Stack traces logged to the console p: webview The WebView plugin package flutter/packages repository. See also p: labels. waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

2 participants