Tuesday, 2 July 2019

Ionic app doesn't hit on server when using cordova

My Ionic app works fine when running with ionic serve but when i use the command ionic cordova run android --livereload it doesn't hit on sever and gives error "Failed to load resource: net::ERR_CONNECTION_REFUSED " below is the ionic info

   Ionic CLI                     : 4.12.0
   Ionic Framework               : @ionic/angular 4.4.2
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 4 other plugins)

Utility:

   cordova-res : not installed
   native-run  : 0.2.7

System:

   NodeJS : v10.16.0 (C:\Program Files\nodejs\node.exe)
   npm    : 6.9.2
   OS     : Windows 10



from Ionic app doesn't hit on server when using cordova

No comments:

Post a Comment