Running
$ ionic serve
Build
$ ionic build
$ ionic capacitor add android
$ ionic capacitor sync
This command will build the ionic and create android folder inside root dir
$ cd android
This command will download some file
$ gradlew assembleDebug
And .apk file created in android/app/build/outputs/apk/debug