• Register
0 votes

Problem :

Recently I had preinstalled my laptop and then switched to Windows 10. Before that I had saved my project in the Android Studio 2.2.3 and then I downloaded the same version of the Android Studio after I completed the preinstallation of my laptop, but if I tried to Open Existing Project I got the below strange message:

Failed to sync gradle project 'ApplicationName' Error:Unable to find method 'org.gradle.api.artifacts.Configuration.setExtendsFrom(Ljava/lang/Iterable;)Lorg/gradle/api/artifacts/Configuration;'.
Possible causes for this unexpected error include: Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
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. Blockquote

I had tried all of the steps mentioned by Android Studio to resolve the error but I am still facing the same issue.

8 4 2
2,300 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

You are facing the error as the google have updated a android plugin and also the gradle integration. So you must update your android studio to a latest version.

Your Android Studio will certainly suggest you the updates you must make and then you can update it by clicking on your notification inside the android studio at the very bottom.

And after that the above error will be automatically fixed for you.

5 2 1
4,980 points

Related questions

0 votes
1 answer 2 views
Problem: How can I deal with this problem: gradle project sync failed. basic functionality (e.g. editing debugging) will not work properly
asked Apr 1 rakib1 50.6k points
0 votes
1 answer 87 views
Problem: re-download dependencies and sync project (requires network)
asked Feb 16 Ethan ross 2.3k points
0 votes
1 answer 575 views
Problem : I am facing the gradle error at the building from few days it just came randomly. My project depends on the multiple libraries and it built without the problems until few days (even with a libraries) ... .gradle.api.internal.changedetection.state.CacheLockReleasingTaskExecuter$1.run(CacheLockReleasingTaskExecuter.java:40) at org.gradle.internal.Factories$1.create(Factories.java:26)
asked Jan 30, 2020 jwilliam 3.9k points
0 votes
1 answer 5 views
Problem : When I run my Project on Android Studio ,I got this Error : Error running android: Gradle project sync failed. Please fix your project and try again. I am sure there are no error in my Project.
asked Mar 28 Shovo210 13.2k points
1 vote
1 answer 179 views
Problem : I am very new to Programming. I am trying to learn Android Programming with the help of tutorials. I have installed Android Studio (1.2RC0) on my machine. My newly installed Android Studio (1.2 RC0) always shows below error to me: Error running ... Please fix your project and try again.   I am unable to understand above Android error. Please guide me in fixing above Android error.
asked May 16, 2020 Martin K 6.6k points
0 votes
2 answers 1.1K views
Problem : Currently I am using the Android Studio 2.1 but when I try to run it the suddenly my App shows me the below error Message my Gradle Build saying the following Exception is: org.gradle. ... .execute(SkipEmptySourceFilesTaskExec uter.java:52) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.j ava:52)
asked Jan 31, 2020 jwilliam 3.9k points
0 votes
1 answer 7 views
Problem: how can solve this question please solve it... the two build files generated by android studio are in ________________.
asked Apr 1 Ifra 24.4k points
0 votes
1 answer 17 views
Problem: warning:unable to find optional library: org.apache.http.legacy
asked Feb 21 charles mathews 5.5k points
0 votes
1 answer 1 view
1 view
Problem: Can anyone suggest a solution,"upgrade plugin to version 2.3.3 and sync project."
asked 21 hours ago Humaira ahmed 7.7k points
0 votes
1 answer 3 views
Problem: Do you have any suggestions about how I can resolve this “Gradle project sync failed. please fix your project and try again”?
asked 5 days ago tuhin1 46.8k points