Net: Connection refused error on ionic 3

Hello. I recently upgraded an ionic 3 cordova application and the app works fine on iOS. However, I am unable to load any asset on Android (net: connexion refused (http://localhost/).

I have read about this issue online, but I could only find very old articles about people who wanted compatibility with android KitKat. However, the issue occurs on any android device on my end. It might be related to me upgrading the cordova-plugin-ionic-webview to version 5.

Here is a screenshot of all the errors:

I did allow navigation to anything in my config.xml:

<allow-navigation href="*" />
.....
<plugin name="cordova-plugin-ionic-webview" spec="^5.0.0" />

The icons do exist in the project and work properly in iOS. I was wondering if anyone could help me out figuring out what is wrong.

Thanks!

Just downgraded to version 1.2.1 of cordova-plugin-ionic-webview and it works. I will need to file an issue since cordova-plugin-ionic-webview v5 just does not work on any Android version