org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by AleksanderMielczarek
, 1 year ago
A problem occurred configuring project ':app'.
via GitHub by cypressious
, 1 year ago
A problem occurred configuring project ':blsAndroid'.
via GitHub by SchlauFuchs
, 11 months ago
A problem occurred configuring root project 'PropertyService'.
via GitHub by brunobowden
, 2 years ago
A problem occurred configuring project ':testProject10'.
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
at org.gradle.api.internal.DefaultDomainObjectCollection$IteratorImpl.next(DefaultDomainObjectCollection.java:291)
at org.gradle.api.internal.CompositeDomainObjectSet$SetIterator.fetchNext(CompositeDomainObjectSet.java:156)
at org.gradle.api.internal.CompositeDomainObjectSet$SetIterator.fetchNext(CompositeDomainObjectSet.java:156)
at com.android.build.gradle.internal.DependencyManager.ensureConfigured(DependencyManager.java:485)
at com.android.build.gradle.internal.DependencyManager.resolveDependencyForConfig(DependencyManager.java:267)
at com.android.build.gradle.internal.DependencyManager.resolveDependencies(DependencyManager.java:159)
at com.android.build.gradle.internal.TaskManager.resolveDependencies(TaskManager.java:364)
at com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:636)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
at com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:44)
at com.android.build.gradle.internal.VariantManager.createVariantData(VariantManager.java:629)
at com.android.build.gradle.internal.VariantManager.createVariantDataForProductFlavors(VariantManager.java:823)
at com.android.build.gradle.internal.VariantManager.populateVariantDataList(VariantManager.java:494)
at com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:269)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
at com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:265)
at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:688)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)
at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.