I developed a sample app using Ionic framework and is working fine when I run the serve command. But when I run the command: sudo ionic cordova run android, it doesn't run the app on physical device that I connected using USB cable. I've installed all the required dependencies for Ionic.
Following is the list of dependencies that I've installed:
Gradle: v4.4.1; Node.js: v8.11.4; NPM: v5.6.0; Ionic: v3.9.2; Cordova: v8.0.0; Android SDKs from SDK 21 to SDK 29;
Android Build tools are also installed.
Can anyone suggest me the solution to run the app on physical device just for testing purpose?