The default gradle version is still v2.10 but you can now use gradle 2.2 for your older phones. It worked for me, and I hope it works for you. Follow these directions to run the gradle wrapper and build. Once downloaded look for your app’s gradle properties and change the gradle version to the downgraded one, for me gradle 2.2. Though I do not need it, you will get an error without it. You will also need a version of Android v21 lollipop, so go download that as well. You should also see the gradle-2.10 directory. Reason for the problem: Thanks to the greatness of Tianchao, Android Studio cannot download gradle-2.2.1-all.zip, but Android Studio is not willing to fail.
#Android studio download gradle 2.2 zip file#
zip file to opt/android-studio/gradle, or where you installed your android studio. Just add android.enableBuildCachetrue to your gradle.properties file. Previewed at Google I/O 2016, Android Studio 2.2 is the latest release of our IDE used by millions of Android developers around the world. You will need to go to /distributions/, find your required gradle version and download it. Android Studio 2.2 is available to download today. The upgrade process had deleted the old plugin, the one I wanted. My old apps were looking for “distributionUrl=https\:///distributions/”, which, of course is no longer there. You will see in your Gradle Scripts > gradle-wrapper.properties > distributionURL the line “distributionUrl=https\:///distributions/”. When i set version 2.2.1 or 2.
#Android studio download gradle 2.2 install#
I install Android Studio 1.2.2 version and Gradle 2.2.1. I dont familiar with AS and Gradle and build system. All your older apps that use a lower gradle version, will get the error “gradle project synch failed, basic functionality accessing invalid virtual file”. I want switch to Android Studio from Eclipse then i download k9mail open source project and decide to import this in AS. This deletes your existing gradle plugin for he older version and installs the newer version, gradle 2.10. When I upgraded I unknowingly chose to upgrade the gradle plugin. I want to build apps for my older phone on Android 2.3.4 and need gradle 2.2. Upgrade Android Studio and you support and older version of Android spells trouble. Upgrade your android version and your gradle version will correspond. The different versions of Android require different versions of gradle. Under System Variables select Path, then click Edit.Add an entry for C:Gradlegradle-7.4.2bin.Click OK to save. If you are using an older phone than Android v21 Lollipop then you will need add a lower version of gradle 2.10 to work. In File Explorer right-click on the This PC (or Computer) icon, then click Properties-> Advanced System Settings-> Environmental Variables. I had not used AS for a while, so when I opened it I needed to upgrade, which I did. Android Studio 2.1.2 is really a bitch to tame.