Opening Android Studio for the first time will guide you through the process of installing the Android SDK packages. Follow the instructions at the linked Android Developer site to get started. Android Studioĭownload and install Android Studio. The project-level's version of Gradle is defined in the Cordova-Android's package and set based on what Android supports. The system-level and project-level version of Gradle may not and does not need to match. The system's Gradle binary will create the Gradle Wrapper file that declares and obtains the appropriate version of Gradle needed for building the Android application. Note: This is the system's Gradle version. See Setting Environment Variables) on how to configure system environment variables. When installing on Windows, you need to add the path to the Gradle's binary directory to your path environment variable. GradleĪs of Cordova-Android 6.4.0, Gradle is required to be installed. Alternatively as of cordova-android 10.0.0 or greater, CORDOVA_JAVA_HOME can be set in place of JAVA_HOME, allowing a JDK install to be used specifically for Cordova development. See the Setting Environment Variables section on how to set up environment variables. The JAVA_HOME environment variable must be set according to your JDK installation path. If you are using any version below cordova-android 10.0.0, install the Java Development Kit (JDK) 8. If you are using cordova-android 10.0.0 or greater, install the Java Development Kit (JDK) 11. The Required Software & Tools Java Development Kit (JDK) To ensure your system meets the necessary requirements, please refer to the " Install Android Studio" guide provided by Google. System RequirementsĬordova-Android relies on the Android SDK, which can be installed on macOS, Linux, or Windows operating systems. You can refer to Google's Distribution dashboard for more information. To find out the version of the Cordova-Android package installed in your Cordova project, navigate to the root directory of your project and execute the command cordova platform ls.Ĭordova generally ceases support for Android versions that fall below 5% on Google's distribution dashboard. Note: The cordova-android versions listed above are not the Cordova CLI versions. The supported Android API Levels (versions of Android) corresponding with the Cordova-Android released versions are listed in the table below: cordova-android Version Regardless of whether you intend to utilize Android-specific command-line tools or Cordova CLI commands, you will need to install and configure the necessary requirements. Additionally, it provides the option to incorporate Android-specific command-line tools into your development workflow. This guide will assist you in setting up your development environment for building Cordova apps on Android devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |