We recently released one of our app and its been giving some users a problem : net::ERR_CONNECTION_REFUSED (http://localhost:8080/) .
We tried checking for a solution and all of them seem to lead to: https://ionic.zone/debug/ionic-and-android-4
which we tried but still the problem is unsolved.
You need to downgrade the
plugin to work on android 4.
Thanks, but we’ve already tried that; see below:
I had exactly the same problem, I solved it with
ionic cordova plugin rm cordova-plugin-ionic-webview
ionic cordova plugin add email@example.com
ionic cordova platforms remove android
rm -rf plugins
ionic cordova build android
Thank You. Sorry for late response, It worked.
The problem happens to me no in the “build” phase, but when running as debug:
% ionic cordova run android -l -c --device --verbose