Hello, I need to update an application that I am working on, the thing is that as the title says, it does not load from file:///android_asset/index.html
A while back the file was uploading fine, but now it just closes the app and crashes. Is file:/// no longer supported for webviews? Any help would be appreciated
it happened to me too yesterday.
i changed the path to http: // localhost, but the app crashes in both develop mode and build mode.
maybe it’s a bug?
Hi taifun, thanks for your help, this is the logcat from where i detected, the log corresponding to my app, i’ve removed the webview that load a local html but not success…
in companion works fine…
625 RequestorPackageName: io.kodular.jjcampis.EscuelaRobotica] ], android.os.BinderProxy@4752e49)
03-07 23:57:25.663 2301 2957 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=417, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND Uid: 10625 AdministratorUids: RequestorUid: 10625 RequestorPackageName: io.kodular.jjcampis.EscuelaRobotica] ], android.os.BinderProxy@f75234e)
03-07 23:57:25.663 2301 2681 D ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=416, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10625 AdministratorUids: RequestorUid: 10625 RequestorPackageName: io.kodular.jjcampis.EscuelaRobotica] ] (release request)
03-07 23:57:25.664 2301 3120 I ActivityManager: Process io.kodular.jjcampis.EscuelaRobotica (pid 22976) has died: prcp TOP
03-07 23:57:25.668 11807 11807 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.safetynet.service.START pkg=com.google.android.gms }
03-07 23:57:25.670 1040 1040 I Zygote : Process 22976 exited due to signal 9 (Killed)
03-07 23:57:25.674 23011 23011 I cr_ChildProcessService: Destroying ChildProcessService pid=23011
03-07 23:57:25.677 23011 23011 I ocessService0:: System.exit called, status: 0
03-07 23:57:25.679 2301 2419 I libprocessgroup: Successfully killed process cgroup uid 10625 pid 22976 in 14ms
03-07 23:57:25.686 1039 23068 W SocketClient: write error (Broken pipe)
03-07 23:57:25.686 1039 23068 W resolv : GetAddrInfoHandler::run: Error writing DNS result to client uid 10625 pid 22976: Broken pipe
03-07 23:57:25.693 2301 2410 W WindowManager: Cannot find window which accessibility connection is added to
03-07 23:57:25.693 2301 3120 I ActivityManager: Killing 23011:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0/u0a625i33 (adj 0): isolated not needed
03-07 23:57:25.697 2301 2419 I libprocessgroup: Successfully killed process cgroup uid 99033 pid 23011 in 0ms
03-07 23:57:25.697 2301 2410 W WindowManager: Failed looking up window session=Session{3c8d5fd 2301:1000} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5667 com.android.server.wm.WindowManagerService.removeWindow:1954 com.android.server.wm.Session.remove:193
03-07 23:57:25.699 1143 1306 E qdmetadata: paramType 2048 not supported
03-07 23:57:25.706 2301 4263 V WindowManager: Changing focus from null to Window{b62a7dc u0 com.motorola.launcher3/com.android.launcher3.CustomizationPanelLauncher} displayId=0
03-07 23:57:25.734 2301 2410 I WindowManager: SURFACE show Surface(name=com.android.systemui.ImageWallpaper)/@0x57bff68 on display:0
in this post: app crash solution
i found that i have to put some text in About screen title, and the app not crashed anymore, but if i put again the webviewer with the file:///android_asset/index.html… it doesnt load…
No errors but the webview stays empty