Failed to load resource: net::ERR_FILE_NOT_FOUND for all paths in index.html on Android build

App runs great using ionic serve, runs great on ionic dev app using ionic serve, and builds ok. However, it just displays a white screen when running on Android (have not tested on iOS) and the console says file not found for every path in index.html. In the assets/www folder it has index.html and many js files. The files are present in the www folder with the index.html. I don’t know why it is not working. I have ionic info data below as well as a screenshot of the console using inspect with chrome developer while I was running the app on an android device using Android Studio.



Ionic CLI : 5.2.8 (C:\Users\natel\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.11.5
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.3.19
@ionic/angular-toolkit : 2.0.0


Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 13 other plugins)


cordova-res : not installed
native-run : 0.3.0


NodeJS : v10.14.1 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10

Have you add mipmap folder and put icon.png to it in platform>android>app>src>main folders?it’s work for me.