Image is not showing in app

I have some images under www/img/maple/. It works fine when testing in browser with ionic serve.

But it doesn’t show after compiled to APK. Any recommendation?

It’s background image using class.

background: url(/img/maple/c1.jpg) center center no-repeat;`

You need to make the URL path relative to the CSS file … so it will probably be


1 Like

Thanks. It solved the problem