I have in my .gradle folder, a 2.4 folder which is the version of gradle. I want to downgrade to 2.2.1, because I need to use Gradle plugin 1.0.1. I already try to change by:
distributionUrl=https://services.gradle.org/distributions/gradle-2.2.1-all.zip
But this did not solve the issue and I'm still with 2.4 version.
How can I solve this?
Open "gradle-wrapper. properties" and change the place where it says "3.3" to "2.14. 1".
Change your gradle version in project setting: If you are using mac,click File->Project structure,then change gradle version,here:
And check your build.gradle of project,change dependency of gradle,like this:
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.0.1' } }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With