![]() ![]() Use '-warning-mode all' to show the individual deprecation warnings. If that, you will find this warning : Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. But avoid this thing, if the version really old. This way we prevent downloading the gradle again and again. Change this entry: distributionUrl=http\:///distributions/gradle-6.1.1-all.zip In your Opened project, navigate Android Studio's project tree, open the file gradle/wrapper/gradle-wrapper.properties. Go to : C:\adle\wrapper\dists, here you see the versions allready installed, remember the latest version, assume it is gradle-6.1.1-all.zip. First You have to know the gradle version that already installed in your machine. To prevent this download there is one trick. But, If your particular project gradle version not match with the gradle version that already installed in the machine, the gradle sycn want to download that version. Now all the Gradle data can be found in your HOME directory, usually located here (in this case on Windows): # tree -L 2 $USERPROFILE/.gradle/ | tail -n +2Īssume, you have installed the latest gradle once. Now, all you need to do is to select: (o) Use local gradle distribution.ĪS will then tell you it found your local Gradle paths: Perhaps because Android Studio (AS) is constantlyĬhanging/evolving? Nevertheless, the procedure is this simple.Īssuming you have already installed Gradle in a suitable directory, mean that you probably also defined an environment variable for GRADLE_HOME, if not define it now, and restart AS.įor my example: GRADLE_HOME=C:\Gradle\gradle-5.2.1įile > Settings > Build, Execution, Deployment > Gradle I'm not sure why there are so many contorted descriptions of doing It's better to provide an option to choose local gradle installation dir or.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |