ionic cap run android -l --external - Not showing target device - Capacitor CLI : 3.2.0
I am not able to get targer device information even device is connected to the system and USB debugging is enable
Below is my Ionic info
Ionic:
Ionic CLI : 6.17.0 Ionic Framework : @ionic/angular 5.6.14 @angular-devkit/build-angular : 12.1.4 @angular-devkit/schematics : 12.1.4 @angular/cli : 12.1.4 @ionic/angular-toolkit : 4.0.0
Capacitor:
Capacitor CLI : 3.2.0 @capacitor/android : 3.2.0 @capacitor/core : 3.2.0 @capacitor/ios : not installed
Utility:
cordova-res : 0.15.3 native-run : 1.4.0
System:
NodeJS : v14.16.0 (C:\Program Files\nodejs\node.exe) npm : 6.14.11 OS : Windows 10
This works for me: ionic cap run android -l --host=0.0.0.0
If I specify the host then my device shows up, else using -l --external, my device does not show up
When I run the powershell/cmd without administrator then I see my device.