@neilsherman wrote:
When building a new Ionic app and deploying the APK to an Android device the app fails to start with the error message:
ERR_CONNECTION_REFUSED (http://localhost:8080)
I can replicate this issue with the following steps:
- ionic start test blank
- ionic cordova build android
- Deploy the debug APK to the Android device
- Open the application
Ionic info:
Ionic:
ionic (Ionic CLI) : 4.1.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.11Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.0.3, (and 4 other plugins)System:
ios-sim : 5.0.13
NodeJS : v8.9.3 (/usr/local/bin/node)
npm : 6.2.0
OS : macOS High Sierra
Xcode : Xcode 9.2 Build version 9C40bEnvironment:
ANDROID_HOME : not set
Posts: 1
Participants: 1