Babar Sultan Waseer
Babar Sultan Waseer

Reputation: 31

Livereload not working Ionic cordova deploying to real device

I'm working with ionic 3.9.2 cordova 8.1.2.

I'm using using real device for testing android project and my livereload is not working. I'm using ionic cordova run android -lc. My project is running fine but i didn't get any logs in cmd and livereload is not working too here.

But i get logs in chrome://inspect and after a while get an error here.

I used ionic cordova run android -lc --debug for more details still not showing logs.

Then i tried to make adb connection. But still no luck or I'm not using it correctly here.

I also tried to delete and reinstall ws package from node_modules but still no improvement.

Here's my environment

Angular CLI: 7.0.3
Node: 10.11.0
OS: win32 x64
Angular: 5.2.11
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.10.3
@angular-devkit/build-optimizer   0.0.35
@angular-devkit/core              7.0.3
@angular-devkit/schematics        7.0.3
@angular/cli                      7.0.3
@schematics/angular               7.0.3
@schematics/update                0.10.3
rxjs                              5.5.11
typescript                        2.6.2
webpack                           3.12.0

Upvotes: 2

Views: 1743

Answers (1)

H.Molnar
H.Molnar

Reputation: 92

For me, this looks like a network error caused by a Firewall or Antivirus. Did you try it on a Different computer/OS or Different Phone/Emulator? It would show which device is responsible for the timeout. It is probably your Computer, but I don't know what Software your Phone has installed and/or what Version of Android you have.

Maybe also check out your Dev options and allow Everything that's related to Networking

Upvotes: 1

Related Questions