V8 Don't work with Android Studio

I always use Android Studio to compile and sign the APK, so I have more freedom with the ‘‘JavascriptInterface’’ of native Java. But v8 just doesn’t work.

I get the following errors in the log:

I/chromium: [INFO:CONSOLE(13)] "Fetch API cannot load file:///android_asset/www/pages/404.html. URL scheme "file" is not supported.", source: file:///android_asset/www/vendors/framework7-bundle.min.js (13)

V7 works perfectly.

Qual esta usando???
O Cordova ou Capacitor???

Nenhum dos dois. Uso o webview tradicional pra o resultado com a nova API do splashscreen ficar mais similar a um app nativo.

Same problem for me: APK generated by Cordova has a folder “assets” and not “android_asset”.

take a look to my question: V8.1.0 + Cordova 12.0 => Fetch API cannot load file:///android_asset/www/XXX.html

Se você tiver usando o cordova instale o
Cordova-res