If your app ran you are now ready to continue developing and building your app. If you encountered any issues while getting started, you can consult theĪndroid Troubleshooting Guide. Unless you’re debugging Java or Kotlin code, the run button is preferred. In Android Studio, first select the device or emulator and then click the run or debug button to run your app. The command will prompt you to select a target. 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. AndY Android Emulator 47.260 is available to all software users as a free download for Windows. This download is licensed as freeware for the Windows (32-bit and 64-bit) operating system on a laptop or desktop PC from console emulators without restrictions.
#Npm android emulator mac how to
This post will cover How to Run React Native App On Real Device in Windows/Linux/Mac. AndY Android Emulator 47.260 on 32-bit and 64-bit PCs. Capacitor requires an Android WebView with Chrome version 60 or later. an app behaves differently in the emulator then the real device. 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.