See theīefore apps can be deployed to Android simulators and devices, the native project must be configured. Gradle is the build tool used in Android apps and must be installed separately. Unfortunately, Cordova is not compatible with the latest version of Java. Native Android apps are compiled with the This section is not necessary for Capacitor. Cordova SetupĪdditional setup is required for Cordova to support programmatic builds. See the fullĪdb documentation for troubleshooting and detailed information. Verify the connection works by connecting the device to the computer with a USB cable and using the following command: $ adb devices For macOS, no additional setup is required.
To install system images and other minor SDK platform packages, you may need to ensure Keep note of theīy default, the latest stable SDK Platform is installed, which includes a collection of packages required to target that version of Android. SDK Components Setup screen, finish installing the SDK. The IDE should detect that the Android SDK needs to be installed. More detailed installation instructions can be found in the
Installing Android Studioĭownload Android Studio from the Android website. Instead, it should only really be used to build and run your apps for the native Android platform and to manage the Android SDK and virtual devices. We don't recommend using Android Studio forĭeveloping Ionic apps. It includes theĪndroid SDK, which will need to be configured for use in the command line.Īndroid Studio is also used to create Android virtual devices, which are required for the Android emulator. Android StudioĪndroid Studio is the IDE for creating native Android apps. Android apps can be developed on Windows, macOS, and Linux.
This guide covers how to run and debug Ionic apps on Android emulators and devices usingĬapacitor or Cordova.