Freshly created ionic3 app not working on android device 4.4.2

I have created a new Ionic 3 app, i haven’t touched it yet, it works fine on browser however when i tried to build and run it on a actual android device, the generated apk output is always

“Couldn’t connect to the server. (http://localhost:8080/)”

see: https://user-images.githubusercontent.com/22809323/43546424-0974fb28-95f2-11e8-92be-1d4099039f85.png

What i have found is that the app works on Android version 8, however when deployed to android 4.4.2 kitkat, it shows the above issue.

Here’s the process i’ve made

-ionic start apktest blank
-cd apktest
-ionic cordova platform add android
-ionic cordova build android
-ionic cordova run android

-ionic start apktest blank
-cd apktest
-ionic cordova platform add android
-ionic cordova build android
-ionic cordova run android

PS: I already have those android sdk,java and directories

Can anybody enlighten me about this issue? Thanks

What is your ionic info output?

If your device you are testing on is using Android 4.x (e.g. Android 4.4 KitKat), this article might explain what is going on: https://ionic.zone/debug/ionic-and-android-4