Live serve on device

How can we live serve our app on android device?

In previous CLI " ionic cordova run -l -c -s android " this command worked for me. But I dont know how to do in latest CLI.

Please share if you know the latest command for live serve on device.

It should be:

ionic cordova run android -l

Thank you so much it worked.

but after launch I am getting an error which is " The connection to the server was unsuccessful.(http://172.24.1.22:8100) "

Be sure to have your phone and computer connected on the same network.

Thank you :slight_smile: Issue resolved

1 Like