Build an Ionic Project with Capacitor

Prepare your enviorments, to install Android Studio and Node.js frist.

Build project step by step
1. Build Ionic Project, execute command like bellow

> ionic start {your project name}

2. Pick a framework

> Angular

3. Pick a template

> tabs

4. Integrate app with Capacitor to native iOS and Android

> Yes

5. Add platform, execute command like bellow

> npx cap add android

6. Test your project on the browser, execute command like bellow

> ionic serve

7. Initilization your App name and package ID

> npx cap init

8. Build your project in the production

> ionic build --prod --release

9. Sync. your code into Android Studio project

> npx cap sync android

10. Open Android Studio project

> npx cap open android

11. Run your App on the andrdoid device. Clicking Run->Run ‘App’ on the menu before connecting your device with laptop or notebook.