0

i download new android studio version 2.3.1 but having an issue i dont know how to deal with it can any one help me , Thanks

enter image description here

4 Answers4

1

from this SO Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

change distribution url in gradle-wrapper.properties with this one.

distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip
Community
  • 1
  • 1
Manojkanth
  • 1,071
  • 11
  • 27
0

Go into

gragle/gradle-wrapper.properties

where you will find distributionUrl change its value to distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

It will solve this issue.

Happy coding!

Wilson Christian
  • 650
  • 1
  • 6
  • 17
0

Go To File/Settings/Gradle uncheck offline work

and also check use default gradle wrapper(recommended)

Your problem will resolve.

Hitesh Gehlot
  • 1,307
  • 1
  • 15
  • 30
0

1.Download gradle-3.3-all.zip from http://services.gradle.org/distributions/

2.Decompress it, open the folder of ‘/Android Studio.app/Contents/gradle’. Delete the old vsersion gradle and copy gradle-3.3 into ‘/Android Studio.app/Contents/gradle’.
3. Open your project's 'gragle/gradle-wrapper.properties',change value

distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

4.Close Android studio and restart it.

Dale.Che
  • 237
  • 1
  • 4
  • 16
  • Thanks @Dale Che best solution i have no words to thanks, you save my day, i tried many answer but fixed my problem with your solution thanks – sifat ullah shah Apr 06 '17 at 06:18