我正在尝试通过 WebView 从运行在 Bluestack 上的应用程序访问在我的系统上运行的本地服务器,但显示的是空白屏幕。以下是网址http://192.168.0.85:8080/WRA。如果我使用相同的网络连接到手机,则此 URL 在手机上运行良好,但在 bluestack 上不起作用。这是日志猫。
01-13 16:20:18.350 4478-4478/com.workstream.squirrel V/WebViewChromium: Binding Chromium to the background looper Looper (main, tid 1) {32774c14}
01-13 16:20:18.350 4478-4478/com.workstream.squirrel I/chromium: [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0
01-13 16:20:18.350 4478-4478/com.workstream.squirrel I/BrowserProcessMain: Initializing chromium process, renderers=0
01-13 16:20:18.350 4478-4774/com.workstream.squirrel W/chromium: [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation
01-13 16:20:18.360 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78506710)
01-13 16:20:18.360 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78506710) returned
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceRequest;)
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceError;)
01-13 16:20:18.370 4478-4478/com.workstream.squirrel I/dalvikvm: Could not find method android.webkit.WebViewClient.onReceivedError, referenced from method com.workstream.squirrel.views.Profile$Browser.onReceivedError
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to resolve virtual method 10926: Landroid/webkit/WebViewClient;.onReceivedError (Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;Landroid/webkit/WebResourceError;)V
01-13 16:20:18.370 4478-4478/com.workstream.squirrel D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
01-13 16:20:18.410 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglCreateWindowSurface (0x5578a7a0, 0x0, 0x7857b968, 0x775590e0)
01-13 16:20:18.410 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglCreateWindowSurface (0x5578a7a0, 0x0, 0x7857b968, 0x775590e0) returned
01-13 16:20:18.420 4478-4478/com.workstream.squirrel W/AwContents: nativeOnDraw failed; clearing to background color.
01-13 16:20:18.450 4478-4786/com.workstream.squirrel I/chromium: [INFO:simple_index_file.cc(397)] Simple Cache Index is being restored from disk.
01-13 16:20:18.460 4478-4478/com.workstream.squirrel W/AwContents: nativeOnDraw failed; clearing to background color.
01-13 16:20:18.490 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78489620)
01-13 16:20:18.490 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78489620) returned
01-13 16:20:18.870 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:18.870 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:18.880 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:18.880 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:18.930 4478-4478/com.workstream.squirrel I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
01-13 16:20:18.980 4478-4478/com.workstream.squirrel I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
01-13 16:20:19.100 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.100 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.110 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.110 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.220 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.220 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.230 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.230 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
.
01-13 16:20:18.350 4478-4478/com.workstream.squirrel V/WebViewChromium: Binding Chromium to the background looper Looper (main, tid 1) {32774c14}
01-13 16:20:18.350 4478-4478/com.workstream.squirrel I/chromium: [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0
01-13 16:20:18.350 4478-4478/com.workstream.squirrel I/BrowserProcessMain: Initializing chromium process, renderers=0
01-13 16:20:18.350 4478-4774/com.workstream.squirrel W/chromium: [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation
01-13 16:20:18.360 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78506710)
01-13 16:20:18.360 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78506710) returned
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceRequest;)
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceError;)
01-13 16:20:18.370 4478-4478/com.workstream.squirrel I/dalvikvm: Could not find method android.webkit.WebViewClient.onReceivedError, referenced from method com.workstream.squirrel.views.Profile$Browser.onReceivedError
01-13 16:20:18.370 4478-4478/com.workstream.squirrel W/dalvikvm: VFY: unable to resolve virtual method 10926: Landroid/webkit/WebViewClient;.onReceivedError (Landroid/webkit/WebView;Landroid/webkit/WebResourceRequest;Landroid/webkit/WebResourceError;)V
01-13 16:20:18.370 4478-4478/com.workstream.squirrel D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
01-13 16:20:18.410 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglCreateWindowSurface (0x5578a7a0, 0x0, 0x7857b968, 0x775590e0)
01-13 16:20:18.410 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglCreateWindowSurface (0x5578a7a0, 0x0, 0x7857b968, 0x775590e0) returned
01-13 16:20:18.420 4478-4478/com.workstream.squirrel W/AwContents: nativeOnDraw failed; clearing to background color.
01-13 16:20:18.450 4478-4786/com.workstream.squirrel I/chromium: [INFO:simple_index_file.cc(397)] Simple Cache Index is being restored from disk.
01-13 16:20:18.460 4478-4478/com.workstream.squirrel W/AwContents: nativeOnDraw failed; clearing to background color.
01-13 16:20:18.490 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78489620)
01-13 16:20:18.490 4478-4478/com.workstream.squirrel W/PGA: [4478] egl: eglDestroySurface (0x5578a7a0, 0x78489620) returned
01-13 16:20:18.870 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:18.870 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:18.880 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:18.880 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:18.930 4478-4478/com.workstream.squirrel I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
01-13 16:20:18.980 4478-4478/com.workstream.squirrel I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
01-13 16:20:19.100 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.100 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.110 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.110 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.220 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.220 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_CULL_FACE, assuming size 1
01-13 16:20:19.230 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1
01-13 16:20:19.230 4478-4478/com.workstream.squirrel E/PGA: PgaUtilsParamSize: unsuported param GL_DITHER, assuming size 1