0

enter image description here

enter image description here

I am working on a project with android studio 4.0 and stuck here. I am getting an error that says

Could not load wrapper properties from c:\users\rishabh\androidstudioprojects\animations\gradle\wrapper\gradle-wrapper.properties.
Sonu Sourav
  • 2,926
  • 2
  • 12
  • 25
  • 1
    Hey @rishabh, welcome to Stack Overflow. It would be great if instead of adding images, you add the error directly here. Please check this [how to ask a question](https://stackoverflow.com/help/how-to-ask) – Sonu Sourav Jun 14 '20 at 06:37
  • yaa sure from next time I will remember. @SONUSOURAV I urgently need the solution can u please help me out. – rishabh dev sharma Jun 14 '20 at 06:41
  • does [this post](https://stackoverflow.com/q/36328422/8192914) solve your issue? – ganjaam Jun 14 '20 at 06:43
  • no, @ganjaam actually I am using the latest android version and that solution is too old and not working on this – rishabh dev sharma Jun 14 '20 at 06:49

1 Answers1

0

Update the gradle distribution to latest version. Replace you distribution URL to below:

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

Also, make sure Toggle Offline Mode is off. You can see here how to do that. It should look like the below image

this

Sonu Sourav
  • 2,926
  • 2
  • 12
  • 25