![]() Note: The cordova-android versions listed above are not for the Cordova CLI. The supported Android API Levels (versions of Android) corresponding with the Cordova-Android released versions are listed in the table below: cordova-android Version You will need to install and set up the requirements regardless of whether you want to use the Android-specific command-line tools or Cordova CLI commands. If you have downloaded the zip, paste the in C:\Users\\.gradle\wrapper\dists\gradle-2.This guide will help set up your development environment for building Cordova apps for Android devices and optionally use Android-specific command-line tools within your development workflow. This is enough as it will automatically download the gradle. Make sure the distributionUrl is distributionUrl=http\:///distributions/ Step 5: Get rid of your unnecessary gradle files delete:ġ.Download the Gradle form gradle distributionģ.Open Android Studio : File > Settings > Gradle > Use local gradleĭistribution navigate the path where you have extracted the gradle.ĮDIT 1: In the latest version of AS, the option is called "Use Gradle from: Specified location, thanks Burley for suggestion Solution 5Īssuming this is a windows system and we are using gradle-2.1-all Ĭheck the \gradle\wrapper\gradle-wrapper.properties ![]() Step 4: Select: (X) Use local gradle distribution and set Gradle home to your extracted Gradle directory. Step 3: Goto: Build, Execution, Deployment > Build Tools > Gradle (Or just type in the searchbar Gradle) Step 2: Hit Ctrl + Alt + S (mac: ⌘ + ,) in Android studio/Intellij IDEA Step 2: Extract the downloaded zip file into a directory. Step 1: Go to the download site from Gradle: Change this entry:ĭistributionUrl=http\:///distributions/ Solution 2ĭownload The Latest Gradle Distribution File and Extract It, Then Copy all Files and Paste it Under:Ĭ:\Users\\.gradle\wrapper\dists\ Solution 3 Beneath your Android Studio's project tree, open the file gradle/wrapper/gradle-wrapper.properties. If you wish to use a new version of Gradle, you can change the version used by studio. ![]() ![]() ![]() Android Studio will automatically use the Gradle wrapper and pull the correct version of Gradle rather than use a locally installed version. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |