ionic capacitor is the api working with android platform. using that capacitor it can be run ionic application on android emulator or any devices. ionic cordova is the same thing can be used for this deployment. but when it is heavy application, most suitable thing is ionic capacitor for deployment.
now see what are the command should be used
first thing you start ionic application using
ionic start MyIonicProject tutorial —type=ionic-angular
that command. MyIonicProject (use your own application name).
after it should be build ionic application once before adding capacitor to that application.
after building ionic application it can be used command
ionic capacitor add android
after capacitor plugging will be added the build file and it can be see android wrappers file in your ionic application file as bellow.

after it should be copied build ionic application to android wrappers file using
ionic capacitor copy android
command it can be done
now it can be run application on android platform
now use
ionic capacitor run android
command to run on android devices.
yes
LikeLike
yes this is for via ionic app run on android using ionic capacitor
LikeLike
yes
LikeLike