Not able to run ionic app in my device to debug application


#1

Iam trying to run the ionic app in my device for logging errors . I am using the following command

ionic cordova run android -l -c -s --debug

The app is installing in my device but its showing ERR_CONNECTION_REFUSED and the application is closing.

Can some one give solution to this issue ? Thanks