0

I have an index.html in my assets folder, when I try code from here: github link to issue from where I took the code. Flutter console outputs this: " W/System (19324): A resource failed to call release." when I go to the Scaffold with InAppWebView and

E/chromium(19324): [ERROR:aw_browser_terminator.cc(125)] Renderer process (19971) crash detected (code -1).
V/InputMethodManager(19324): b/117267690: Failed to get fallback IMM with expected displayId=83 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{8ab0132 VFEDHVCL. ........ 0,0-1080,1823}
E/chromium(19324): [ERROR:aw_browser_terminator.cc(125)] Renderer process (19971) crash detected (code -1).

when I exit the page.

I cannot connect to any port from InAppWebView and port 8080 doesn't show up(at all)(this didn't help at all) when I run netstat -aon.

Web page shows ERR_CLEARTEXT_NOT_PERMITTED and solutions from here changed this message to ERR_CONNECTION_REFUSED.

Till this is localhost I do not undestand what is going on.

Also, when I made a first run I got this:

W/example.pr_0_0(21783): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, reflection, allowed)
W/example.pr_0_0(21783): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed)
W/example.pr_0_0(21783): Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, reflection, allowed)
W/example.pr_0_0(21783): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
D/HostConnection(21783): HostConnection::get() New Host Connection established 0xe8e45410, tid 21972
W/cr_media(21783): Requires BLUETOOTH permission
D/HostConnection(21783): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2
E/chromium(21783): [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS
D/EGL_emulation(21783): eglCreateContext: 0xe8e4a6c0: maj 2 min 0 rcv 2
D/EGL_emulation(21783): eglMakeCurrent: 0xe8e4a6c0: ver 2 0 (tinfo 0xb653b9f0) (first time)
E/chromium(21783): [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS
I/VideoCapabilities(21783): Unsupported profile 4 for video/mp4v-es
W/cr_MediaCodecUtil(21783): HW encoder for video/avc is not available on this device.
D/EGL_emulation(21783): eglCreateContext: 0xe8e4fb30: maj 2 min 0 rcv 2```





P.S: index.html is working, antivirus didn't encountered problems

0 Answers0