Open android emulator from terminal mac

broken image
broken image

To run the project on a device or emulator, run: npx cap run android Physical devices should work as low as API 21 as long as their System WebView is updated. The System WebView does not automatically update on emulators. To use an Android Emulator you must use an API 24+ system image. You can either run your app on the command-line or with Android Studio. To open the project in Android Studio, run: npx cap open androidĪlternatively, you can open Android Studio and import the android/ directory as an Android Studio project. npx cap add android Opening the Android Project Adding the Android Platformįirst, install the package. Capacitor requires an Android WebView with Chrome version 60 or later. Android SupportĪPI 21+ (Android 5 or later) is supported, which represents Capacitor features a native Android runtime that enables developers to communicate between JavaScript and Native Java or Kotlin code.Ĭapacitor Android apps are configured and managed through Android Studio.