Remote images not loading in mobile


Does someone know why I can’t display external images (eg. from an Internet url) after build my Ionic3 APK?


  1. ionic start testApp blank
  2. edit home.html
  3. write the follow code:
<ion-content padding>
  <img src="" />
  1. ionic cordova build android --prod
  2. ./adb install -r app-debug.apk

After open the app into my real device, the image crashes, nothing is displayed. In my browser or Ionic DevApp both works fine.

Suggestions? I’m using Android 8.0.0.


I ended up starting a new project and copying the src directory. The problem was solved mysteriously!