[solved] OMG a Blank screen :-/

Hi everybody !
I have…

…a blank screen (stuck) with no error when i do a “ionic cordova run android”

I tried a lot of things that i find on the forum and what is strange is that it works when i do a “ionic cordova run android -l -c” or a “ionic serve”

Maybe someone has an idea…? I’m a bit lost :confused:

Thanks!

I tried to do a tabs app template and run a “ionic cordova run android” and still the same problem… Blank screen :confused: but worked with “ionic serve”

Can you use Chrome and go to “chrome://inspect/#devices” (when the app is running, with the blank screen) see if there is any error messages?

I tried yesterday and find no error but i will retry :slight_smile:

Indead I have some errors messages :

index.html:10 The key “viewport-fit” is not recognized and ignored.
file:///runtime.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///es2015-polyfills.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///polyfills.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///styles.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///cordova.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///vendor.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///main.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///assets/icon/favicon.png Failed to load resource: net::ERR_FILE_NOT_FOUND

It’s strange beacause it works with ionic serve ?

And this happen on a new ionic tabs project with no modification on a new install (i tried to install and uninstall everything)

I am not very experienced in this
but I think it should be issue with cordova (cordova plugins don’t run on ionic serve)
Have you tried this:
reinstalling android platform & webview cordova plugin

resolving broken routes:

Jusliong !! You are the best ! Thnak you very much the first solution worked for me !!
Thank a lot !