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

Stack Overflow | Jutikorn | 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

    CircleCI Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha3

    Stack Overflow | 8 months ago | Jutikorn
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
  2. 0

    Could not find org.springframework.boot:spring-boot-starter-log4j

    Stack Overflow | 2 months ago | Zubair Ahmed
    org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration 'detachedConfiguration3'.
  3. 0

    Could not resolve all dependencies for configuration ':xxxx:runtimeCopy'

    GitHub | 10 months ago | yin-bp
    org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.12-bin.zip'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 154#183946717

    GitHub | 1 year ago | geoHeil
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':web:buildImage'.
  6. 0

    Android build error

    Google Groups | 8 months ago | Unknown author
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'RallyPacControl'.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.gradle.internal.resolve.ModuleVersionNotFoundException

      Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha3. Required by: myproject-android:app:unspecified

      at org.gradle.internal.resolve.result.DefaultBuildableComponentResolveResult.notFound()
    2. org.gradle.internal
      DefaultBuildableComponentResolveResult.notFound
      1. org.gradle.internal.resolve.result.DefaultBuildableComponentResolveResult.notFound(DefaultBuildableComponentResolveResult.java:38)
      1 frame
    3. org.gradle.api
      DefaultArtifactDependencyResolver$1.execute
      1. org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolveModule(RepositoryChainComponentMetaDataResolver.java:88)
      2. org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolve(RepositoryChainComponentMetaDataResolver.java:59)
      3. org.gradle.api.internal.artifacts.ivyservice.resolveengine.ComponentResolversChain$ComponentMetaDataResolverChain.resolve(ComponentResolversChain.java:80)
      4. org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModuleResolver.resolve(ClientModuleResolver.java:44)
      5. org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.resolve(DependencyGraphBuilder.java:560)
      6. org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.getMetaData(DependencyGraphBuilder.java:570)
      7. org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:256)
      8. org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.java:230)
      9. org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:137)
      10. org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:75)
      11. org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:88)
      12. org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:78)
      12 frames
    4. Gradle Core
      Transformers$4.transform
      1. org.gradle.internal.Transformers$4.transform(Transformers.java:137)
      1 frame
    5. org.gradle.api
      CacheLockingArtifactDependencyResolver$1.run
      1. org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:61)
      2. org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:39)
      3. org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:78)
      4. org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:41)
      4 frames
    6. Gradle Core
      DefaultCacheFactory$ReferenceTrackingCache.useCache
      1. org.gradle.internal.Factories$1.create(Factories.java:22)
      2. org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:192)
      3. org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
      4. org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:106)
      5. org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:187)
      5 frames
    7. org.gradle.api
      ErrorHandlingConfigurationResolver.resolve
      1. org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:64)
      2. org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:39)
      3. org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolve(DefaultConfigurationResolver.java:91)
      4. org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver.resolve(SelfResolvingDependencyConfigurationResolver.java:40)
      5. org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolve(ShortCircuitEmptyConfigurationResolver.java:52)
      6. org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:43)
      6 frames
    8. Gradle Core
      DefaultConfiguration.getResolvedConfiguration
      1. org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:367)
      2. org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveNow(DefaultConfiguration.java:342)
      3. org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:335)
      3 frames
    9. com.android.tools.build.gradle
      VariantManager$9.call
      1. com.android.build.gradle.internal.DependencyManager.collectArtifacts(DependencyManager.java:527)
      2. com.android.build.gradle.internal.DependencyManager.gatherDependencies(DependencyManager.java:349)
      3. com.android.build.gradle.internal.DependencyManager.resolveDependencyForConfig(DependencyManager.java:268)
      4. com.android.build.gradle.internal.DependencyManager.resolveDependencies(DependencyManager.java:155)
      5. com.android.build.gradle.internal.TaskManager.resolveDependencies(TaskManager.java:357)
      6. com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:630)
      7. com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:627)
      7 frames
    10. com.android.builder
      ThreadRecorder$1.record
      1. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:55)
      2. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:47)
      2 frames
    11. com.android.build
      SpanRecorders.record
      1. com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:51)
      1 frame
    12. com.android.tools.build.gradle
      VariantManager$1.call
      1. com.android.build.gradle.internal.VariantManager.createVariantData(VariantManager.java:626)
      2. com.android.build.gradle.internal.VariantManager.createVariantDataForProductFlavors(VariantManager.java:817)
      3. com.android.build.gradle.internal.VariantManager.populateVariantDataList(VariantManager.java:491)
      4. com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:268)
      5. com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:265)
      5 frames
    13. com.android.builder
      ThreadRecorder$1.record
      1. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:55)
      2. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:47)
      2 frames
    14. com.android.tools.build.gradle
      BasePlugin$11.call
      1. com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:264)
      2. com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:695)
      3. com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:692)
      3 frames
    15. com.android.builder
      ThreadRecorder$1.record
      1. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:55)
      2. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:47)
      2 frames
    16. com.android.tools.build.gradle
      BasePlugin$10.call
      1. com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:691)
      2. com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:617)
      3. com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:614)
      3 frames
    17. com.android.builder
      ThreadRecorder$1.record
      1. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:55)
      2. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:47)
      2 frames
    18. com.android.tools.build.gradle
      BasePlugin.lambda$createTasks$1
      1. com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:613)
      1 frame
    19. org.gradle.internal
      BroadcastDispatch.dispatch
      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)
      5 frames
    20. Gradle Core
      ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
      1. org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      1 frame
    21. com.sun.proxy
      $Proxy11.afterEvaluate
      1. com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)
      1 frame
    22. 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.AbstractProject.evaluate(AbstractProject.java:510)
      4. org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:90)
      5. org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
      6. org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
      7. org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:125)
      8. org.gradle.internal.Factories$1.create(Factories.java:22)
      9. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      10. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
      11. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:122)
      12. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
      13. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
      14. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
      15. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      16. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
      17. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
      18. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
      18 frames
    23. Gradle Launcher
      ForwardClientInput$2.call
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
      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:43)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
      6. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
      7. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
      8. org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
      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:37)
      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
    24. Gradle Core
      Swapper.swap
      1. org.gradle.util.Swapper.swap(Swapper.java:38)
      1 frame
    25. 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.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
      4. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      5. org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:66)
      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.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
      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:246)
      14 frames
    26. 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