Or you can change your gradle wrapper in the projectĮdit YourProject\gradle\wrapper\gradle-wrapper.properties file and edit the field distributionUrl in toįor people who are using Ionic/Cordova framework, we need to change the distributionUrl in GradleBuilder.js file to var distributionUrl = process.env || 'http\\:///distributions/' Open the path and paste the downloaded zip folder gradle-3.0 in that folderĬhange your gradle 2.8 to gradle 3.0 in file ->settings ->gradle Open in android studio file ->settings ->gradle Open Module Settings (your project) > Project > Gradle version and enter 2.10ĭownload the latest from Gradle Version: 3.3 Android Plugin version: 2.3.1Īn easier way to accomplish this is to go to: On the Project Window, right click on your project then select Open Module Settings ( ⌘ ↓) Make Sure that Gradle version is already setup to 2.10 in Module Settings Or keep local gradle distribution option and set Gradle home to /./gradle-2.10 Then change Project-Level setting to Use default gradle wrapper (recommended) Open Preference and search for Gradle or Navigate to Builds, Execution, Deployment > Build Tools > Gradle Or set Use default gradle wrapper and edit Project\gradle\wrapper\gradle-wrapper.properties files field distributionUrl like this distributionUrl=https\:///distributions/ On Mac OS, change the path in Android Studio > Preferences > Builds,Execution,Deployment > Build Tools > Gradle >Gradle home You need to change File > Settings > Builds,Execution,Deployment > Build Tools > Gradle >Gradle home path
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |