Problem with Gradle generating

Asked

Viewed 475 times

0

Good afternoon... I have a serious problem, I already searched in forums and groups of Whatsapp and could not solve, I realized that it is only in windows 10...

Come on:

My problem is this, every time I install Android Studio and I will create a new application, it presents me an error of Gradle, saying that it was not possible to export as the file is corrupted.

======

Error:

Error:Failed to open zip file. Gradle’s dependency cache may be Corrupt (this sometimes occurs after a network Connection timeout.)

Re-download dependencies and Sync project (requires network)

Re-download dependencies and Sync project (requires network)

======

When searching for solution on the internet, they tell me to put Gradle manually, I put but did not know how to configure to import the package, and tals...

Another solution I found was to put Gradle in the Gradle folder of the project itself. And going into the configuration of the project I put the version of my Gradle that at the moment is 3.5-all, I put that the error already goes... But this is because I put in the project itself, if I create another one the error will appear.

follows the image: inserir a descrição da imagem aqui

I’d be grateful if someone could help me, thank you...

  • You can open the terminal and try to run the "gradlew" command it will download the necessary dependencies. Usually it is enough but it is strange not to work simply by clicking on the link displayed in the error.

  • i went to the directory of Gradle la in the android folder and put the Gradle that I mentioned there above the 3.5-all ai worked, no error but still I’m afraid...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.