Duolith docs

Errors E0400 to E0499

E0475 Launch screen setting that cannot be used

Message app.splash.setting problem

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

The launch screen shows the splash image (or the icon) centred on a background colour while the app starts. The image must be a PNG that is there, from 512 to 4096 pixels on its longer side: Android draws it 640 pixels wide on its densest screens, so a smaller one would be blurred, and a larger one only costs memory while the app starts. The background is #rrggbb, one for both schemes or { light, dark }. Without a background, the theme's canvas colours are used.

How to fix it

Point image: at a PNG in the project of 512 pixels or more, and write the background as "#f6f5f2" or { light: "#ffffff", dark: "#111214" }.

In a terminal

duolith explain E0475