Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49253

Android Debug Build Fails

$
0
0

@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:

  1. ionic start test blank
  2. ionic cordova build android
  3. Deploy the debug APK to the Android device
  4. 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.11

Cordova:

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 9C40b

Environment:

ANDROID_HOME : not set

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49253

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>