Hi,
I am new to ionic framework so please pardon my ignorance. I have developed simple(POC) ionic app and trying to test it on my android device.
I was following the deployment tutorial
When I try to run the app as per the tutorial I get the following error.
cmd> ionic run android --device The run command has been renamed. To find out more, run:
ionic cordova run --help
When i run the suggested command I recieve different error.
cmd>ionic cordova run --help [ERROR] Unable to find command: cordova run
Can someone please help? I want to know how do I test the app on an android device.
I had couple of hiccups running
cmd> ionic cordova build android
I was able to solve those issues too.
Now I am back to running
cmd> ionic cordova run android --device
lots of output and at the end this is the error
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66
Error: Failed to deploy to device, no devices found.
[ERROR] Cordova encountered an error.
** You may get more insight by running the Cordova command above directly.**
[ERROR] An error occurred while running cordova run android --device (exit code 1).
try adb devices -l, this wil show a list of connected devices. If your device is not listed, ionic will not be able to deploy on your device. More information can be found in this link