question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cordova-serve-android is not working

See original GitHub issue

I tried with a fresh install but the cordova webview is unable to access the dev server ip.

Turning the firewall off did not help. vue-cli-service cordova-serve-android --host 0.0.0.0 did not help neither.

Any idea?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
odai-alalicommented, Oct 26, 2018

I found the problem. The script somehow picked the wrong IP (the IP of the NAT virtual network)

I had to run .\node_modules\.bin\vue-cli-service cordova-serve-android --public <my local ip>:8080 to get it working

Thanks

0reactions
omkardusanecommented, Sep 5, 2019

are you planning to fix this ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't use serve with Cordova / Phonegap helloworld
After discussions on IRC with a Cordova developer, the serve command is somehow not well documented and it is mostly useful to serve...
Read more >
cordova not available when running on android with the -l flag
Steps to reproduce the behavior: create a new ionic app; add the Android platform with some plugins; run the command "ionic cordova run...
Read more >
ionic cordova run: native-run Android and iOS Apps in Browsers
This command will first use ionic build to build web assets (or ionic serve with the --livereload option). Then, cordova build is used...
Read more >
Android Platform Guide - Apache Cordova
Android Platform Guide. This guide shows how to set up your SDK environment to deploy Cordova apps for Android devices, and how to...
Read more >
App is not loading after cordova plugin integration | OutSystems
I am integrating with a Cordova plugin. I follow the OutSystems documents guide for this and I am successfully able to generate the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found