Android getting net::FILE_NOT_FOUND_ERROR

Hi ,

I am new to ionic.

Whenever I use ionic run android,

I get net::ERR_FILE_NOT_FOUND (file:///android_asset/www/Application/Infrastructure/login.html) error.

I have tried to move all html files under templates folder and also in the same folder as index.html. But it does not find any html files except index.html.

The app works fine with ionic serve.

Any help would be greatly appreciated.

Thanks in advance


Can someone please help. I am stuck on this problem for over a week now and no matter what I do the app does not find any html files except the index.html. I am using Ionic CLI v 6.0.0