Android studio re-download dependencies and sync project (requires network)






















It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Over Questions: I am on Android 2. I want to read all contacts and data associated to them, therefore e. Add menu. Gradle's dependency cache may be corrupt this sometimes occurs after a network connection timeout. Re-download dependencies and sync project requires network. The state of a Gradle build process daemon may be corrupt.

Stopping all Gradle daemons may solve this problem. Stop Gradle build processes requires restart. Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project. In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

The text was updated successfully, but these errors were encountered:. Duplicate of and You'll have to revert any local changes you have, specifically your gradle-wrapper. I am creating a new Android Project after indexing and Gradle synchronization it shows an error Re-download dependencies and sync project required network when I click on click on Re-download dependencies and sync project nothing would happen it again shows error.

I have also tried invalidate cache and Restart and also sync the Gradle but nothing happens I have also good connectivity of the internet. Vishal Yadav. Vishal Yadav Vishal Yadav 1, 4 4 gold badges 14 14 silver badges 30 30 bronze badges.

Add a comment. Active Oldest Votes. Amaksoft Amaksoft 8 8 silver badges 14 14 bronze badges. Hope that works. Deepali-Systematix Deepali-Systematix 1 1 silver badge 8 8 bronze badges. Hardik Mehta Hardik Mehta 12 12 silver badges 20 20 bronze badges. VishalYadav from the error screen shot may be it seems internet or network problem.

If you're on linux like me, starting studio with sudo from terminal does it. Add a comment. Active Oldest Votes. Repair Gradle Installation This usually happens when something goes wrong in Android Studio's first launch eg. Hamid Asghari Hamid Asghari 5, 3 3 gold badges 22 22 silver badges 33 33 bronze badges. You may be having different projects on different gradle build. So delete only that directory from dist. I had problem with gradle This is the solution to fix this issue and it is well explained.

I can't find dists file inside. UPDATE 17 JULY Even if the following solution still works as of today,I've found thanks to the answer posted by Hamid Asghari and to the comment posted by Mahendra Dabi that simply deleting the gradle dist directory and performing a reboot of the ide, will fix the issue please read Hamid post for a full answer, and remember that OSX and Linux have the same gradle path.

To solve the issue: 1 Manually download Gradle 3. Dharman Hamid Asghari what should I do then? You tell me. I can edit the "update" if you wish. EDIT: I've edited the "update" to make you happy. Samscodes Samscodes 3 3 silver badges 3 3 bronze badges. Find 'gradle-wrapper. Mikey Yang Mikey Yang 4 4 silver badges 6 6 bronze badges. I have not tried downloading the gradle manually but I have tried deleting the 'dists' folder but it is not working.

This answer works for me tho.



0コメント

  • 1000 / 1000