Image Issue (Android)


#1

I am using a img tag to display the logo, it’s working fine in browser but when testing the app in a android device I couldn’t see the image.

This is how I am using, am I doing some thing wrong, or do I need to handle any config. Please advice.

img ng-src="img/logo.png" class="logo"


#2

Try this

<img src="img/logo.png" class="logo" >

#3

Please be sure the path of your image is correct. Because on browser it most probably use relative path to your image. But in android app it will use as platforms/android/assets/www or myApp/www something.


#4

thanks, it’s working as excepted