Long white screen on Android


#1

Hello,

when i run the command :

cordova run android

it runs but i have a long white screen before it launches, sometimes the splashscreen gets stuck and doesn’t show the app.

What could be the problem ? anyone is having the same issue ?


#2

have u tried with --prod flag?

ionic cordova run android --prod


#3

Still nothing, now it’s stuck at the splashscreen

but i get this errors on the log :

Failed to load resource: net::ERR_FILE_NOT_FOUND roboto-regular.woff2 
Failed to load resource: net::ERR_FILE_NOT_FOUND roboto-medium.woff2
...

it seems it can’t load all the roboto fonts


#4

i am not sure but look this Failed to load resource: roboto-regular.woff2


#5

Yes i tried that before, but it didn’t do it for me. the app works fine with ionic serve run.
but yes it could be coming from failing to load those fonts