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

GitHub | tbsandee | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ConcurrentModificationException from Gradle 3.1 with Databinding and Realm 2.0

    GitHub | 8 months ago | tbsandee
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
  2. 0

    GitHub comment 3501#250106536

    GitHub | 8 months ago | AleksanderMielczarek
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at org.gradle.api.internal.DefaultDomainObjectCollection$IteratorImpl.next()
    2. Gradle Core
      CompositeDomainObjectSet$SetIterator.next
      1. org.gradle.api.internal.DefaultDomainObjectCollection$IteratorImpl.next(DefaultDomainObjectCollection.java:291)
      2. org.gradle.api.internal.CompositeDomainObjectSet$SetIterator.fetchNext(CompositeDomainObjectSet.java:156)
      3. org.gradle.api.internal.CompositeDomainObjectSet$SetIterator.next(CompositeDomainObjectSet.java:175)
      3 frames
    3. Commons Collections
      IteratorChain.next
      1. org.apache.commons.collections.iterators.IteratorChain.next(IteratorChain.java:265)
      1 frame
    4. Gradle Core
      CompositeDomainObjectSet$SetIterator.next
      1. org.gradle.api.internal.CompositeDomainObjectSet$SetIterator.fetchNext(CompositeDomainObjectSet.java:156)
      2. org.gradle.api.internal.CompositeDomainObjectSet$SetIterator.next(CompositeDomainObjectSet.java:175)
      2 frames
    5. com.android.tools.build.gradle
      VariantManager$9.call
      1. com.android.build.gradle.internal.DependencyManager.ensureConfigured(DependencyManager.java:485)
      2. com.android.build.gradle.internal.DependencyManager.resolveDependencyForConfig(DependencyManager.java:267)
      3. com.android.build.gradle.internal.DependencyManager.resolveDependencies(DependencyManager.java:159)
      4. com.android.build.gradle.internal.TaskManager.resolveDependencies(TaskManager.java:364)
      5. com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:636)
      6. com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:633)
      6 frames
    6. com.android.builder
      ThreadRecorder.record
      1. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
      2. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
      2 frames
    7. com.android.build
      SpanRecorders.record
      1. com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:44)
      1 frame
    8. com.android.tools.build.gradle
      VariantManager$1.call
      1. com.android.build.gradle.internal.VariantManager.createVariantData(VariantManager.java:629)
      2. com.android.build.gradle.internal.VariantManager.createVariantDataForProductFlavors(VariantManager.java:823)
      3. com.android.build.gradle.internal.VariantManager.populateVariantDataList(VariantManager.java:512)
      4. com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:269)
      5. com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:266)
      5 frames
    9. com.android.builder
      ThreadRecorder.record
      1. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
      2. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
      2 frames
    10. com.android.tools.build.gradle
      BasePlugin$11.call
      1. com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:265)
      2. com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:688)
      3. com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:685)
      3 frames
    11. com.android.builder
      ThreadRecorder.record
      1. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
      2. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
      2 frames
    12. com.android.tools.build.gradle
      BasePlugin$10.call
      1. com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)
      2. com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
      3. com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)
      3 frames
    13. com.android.builder
      ThreadRecorder.record
      1. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
      2. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
      2 frames
    14. com.android.tools.build.gradle
      BasePlugin.lambda$createTasks$1
      1. com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)
      1 frame
    15. org.gradle.internal
      ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
      1. org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
      2. org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
      3. org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
      4. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
      5. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
      6. org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      6 frames
    16. com.sun.proxy
      $Proxy15.afterEvaluate
      1. com.sun.proxy.$Proxy15.afterEvaluate(Unknown Source)
      1 frame
    17. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
      2. org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:61)
      3. org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:573)
      4. org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:125)
      5. org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
      6. org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:38)
      7. org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:151)
      8. org.gradle.internal.Factories$1.create(Factories.java:22)
      9. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
      10. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
      11. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:148)
      12. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:33)
      13. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:112)
      14. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:106)
      15. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
      16. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
      17. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
      18. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:92)
      18 frames
    18. Gradle Launcher
      ForwardClientInput$2.call
      1. org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:66)
      2. org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
      3. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
      6. org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:79)
      7. org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:51)
      8. org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:59)
      9. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      11. org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)
      12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      13. org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
      14. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      15. org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
      16. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      17. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
      18. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
      18 frames
    19. Gradle Core
      Swapper.swap
      1. org.gradle.util.Swapper.swap(Swapper.java:38)
      1 frame
    20. Gradle Launcher
      DaemonStateCoordinator$1.run
      1. org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
      2. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      3. org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
      4. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      5. org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
      6. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      7. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      8. org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
      9. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      11. org.gradle.launcher.daemon.server.exec.HintGCAfterBuild.execute(HintGCAfterBuild.java:44)
      12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      13. org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
      14. org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:293)
      14 frames
    21. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      2. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      2 frames