a few days I have been having problems installing the apk on the device with android 4.4.4, presenting localhost error: 8080.
after a lot of searching in the forum, watching videos on youtube, asking in group of the telegram, I discovered what is happening, it is a bug in the plugin of the ( cordova-plugin-ionic-webview version 2 ).
to solve the problem, I’ll send an image below to give credit to the person who solved the problem
The commands I used where these:
cordova plugin rm cordova-plugin-ionic-webview cordova plugin add email@example.com ionic cordova platforms remove android rm -rf plugins ionic cordova build android
I created this topic to make it easier for other users who have the same problem, because it was difficult for me to look for the solution of this error