ionic capacitor ios 1

ionic capacitor ios

// if you didn't run before
ionic build
// then
npx cap add android
npx cap sync

Here is what the above code is Doing:
1. We’re installing the Capacitor CLI globally.
2. We’re adding the Android platform to our project.
3. We’re syncing our project with the Android platform.

Now, we can run our app on Android.

npx cap open android

Similar Posts