It seems after the latest update that running
ionic capacitor run android -l --external won’t open Android Studio but runs directly from the terminal.
The problem is that it doesn’t recognise the emulator as a target devices and only recognises a real device. I tried to find if there is a way to use it like before, but I can’t find anything on Ionic/Capacitor docs or elsewhere.
Does anyone have any idea about this?
Ionic: Ionic CLI : 6.16.1 (/usr/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.6.7 @angular-devkit/build-angular : 12.0.1 @angular-devkit/schematics : 12.0.1 @angular/cli : 12.0.1 @ionic/angular-toolkit : 3.1.1 Capacitor: Capacitor CLI : 3.0.0 @capacitor/android : 3.0.0 @capacitor/core : 3.0.0 @capacitor/ios : 3.0.0 Utility: cordova-res : 0.15.3 native-run : 1.3.0 System: NodeJS : v16.2.0 (/usr/bin/node) npm : 6.14.13 OS : Linux 5.12