Images do not appear in android build


Good evening!

When I run my application in debug mode (ionic run android --livereloa -c) the images usually appear in the application.

But when compiling (android build android) the images appear broken …

What can it be?

  <ion-row class="logo-row">
    <ion-col width-67>
      <!--<img src=""/>-->
      <img src="./../../assets/images/mga-logo.png"/>

My pictures are in: /app/src/assets/images


this will be valid one for build as well.



Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: Look at the console and network tabs for errors.


You have to understand that Ionic is nothing more then a single page application as you can see in your www folder.
If you want to open images or anything else from the assets folder, you open it from the index.html file in your www folder.
It hast nothing to do with the project structure in your src folder.