I used to run ionic v3 apps in android devices using the command
ionic cordova run android -lc
but now i am using ionic v4 with capacitor.
How do i use the command now to run it live on a mobile device?
Thank you
I used to run ionic v3 apps in android devices using the command
ionic cordova run android -lc
but now i am using ionic v4 with capacitor.
How do i use the command now to run it live on a mobile device?
Thank you
isn’t it ionic capacitor run ios/android -l
?
Well if you want run your app in device, then you can use Ionic Devapp,
ionic serve --devapp
use this commend and download devapp, make sure your app device and computer connected with same network.
Yes but that will bring up the android studio.
Is there any way to not bring up android studio and run the app directly into the mobile device?
Android studio takes a long time process
I just do ionic cordova run android --device