org.gradle.api.GradleScriptException: A problem occurred evaluating project ':mylittlelibrary'.

Stack Overflow | emrekose26 | 9 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.

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.gradle.internal.logging.LoggingManagerInternal

    at org.gradle.api.internal.plugins.DefaultPluginManager.instantiatePlugin()
  2. Gradle Core
    AbstractProject.evaluationDependsOn
    1. org.gradle.api.internal.plugins.DefaultPluginManager.instantiatePlugin(DefaultPluginManager.java:59)
    2. org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:160)
    3. org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:112)
    4. org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:35)
    5. org.gradle.api.Script$apply$0.callCurrent(Unknown Source)
    6. org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
    7. org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$1.run(DefaultScriptPluginFactory.java:144)
    8. org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:72)
    9. org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:149)
    10. org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
    11. org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
    12. org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
    13. org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
    14. org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:510)
    15. org.gradle.api.internal.project.AbstractProject.evaluationDependsOn(AbstractProject.java:578)
    16. org.gradle.api.internal.project.AbstractProject.evaluationDependsOn(AbstractProject.java:570)
    16 frames
  3. com.android.tools.build.gradle
    VariantManager$9.call
    1. com.android.build.gradle.internal.DependencyManager.ensureConfigured(DependencyManager.java:724)
    2. com.android.build.gradle.internal.DependencyManager.resolveDependencyForConfig(DependencyManager.java:240)
    3. com.android.build.gradle.internal.DependencyManager.resolveDependencies(DependencyManager.java:139)
    4. com.android.build.gradle.internal.TaskManager.resolveDependencies(TaskManager.java:356)
    5. com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:597)
    6. com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:594)
    6 frames
  4. 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
  5. com.android.build
    SpanRecorders.record
    1. com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:51)
    1 frame
  6. com.android.tools.build.gradle
    VariantManager$1.call
    1. com.android.build.gradle.internal.VariantManager.createVariantData(VariantManager.java:593)
    2. com.android.build.gradle.internal.VariantManager.createVariantDataForProductFlavors(VariantManager.java:750)
    3. com.android.build.gradle.internal.VariantManager.populateVariantDataList(VariantManager.java:459)
    4. com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:263)
    5. com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:260)
    5 frames
  7. 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
  8. com.android.tools.build.gradle
    BasePlugin$12.call
    1. com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:259)
    2. com.android.build.gradle.BasePlugin$12.call(BasePlugin.java:657)
    3. com.android.build.gradle.BasePlugin$12.call(BasePlugin.java:654)
    3 frames
  9. 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
  10. com.android.tools.build.gradle
    BasePlugin$10$1.call
    1. com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:653)
    2. com.android.build.gradle.BasePlugin$10$1.call(BasePlugin.java:572)
    3. com.android.build.gradle.BasePlugin$10$1.call(BasePlugin.java:569)
    3 frames
  11. 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
  12. com.android.tools.build.gradle
    BasePlugin$10.execute
    1. com.android.build.gradle.BasePlugin$10.execute(BasePlugin.java:568)
    2. com.android.build.gradle.BasePlugin$10.execute(BasePlugin.java:565)
    2 frames
  13. 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
  14. Gradle Core
    ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
    1. org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
    1 frame
  15. com.sun.proxy
    $Proxy10.afterEvaluate
    1. com.sun.proxy.$Proxy10.afterEvaluate(Unknown Source)
    1 frame
  16. 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.execution.TaskSelector.getSelection(TaskSelector.java:84)
    7. org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:75)
    8. org.gradle.execution.commandline.CommandLineTaskParser.parseTasks(CommandLineTaskParser.java:42)
    9. org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(TaskNameResolvingBuildConfigurationAction.java:44)
    10. org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
    11. org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
    12. org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
    13. org.gradle.execution.DefaultTasksBuildExecutionAction.configure(DefaultTasksBuildExecutionAction.java:44)
    14. org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
    15. org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
    16. org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
    17. org.gradle.execution.ExcludedTaskFilteringBuildConfigurationAction.configure(ExcludedTaskFilteringBuildConfigurationAction.java:47)
    18. org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
    19. org.gradle.execution.DefaultBuildConfigurationActionExecuter.select(DefaultBuildConfigurationActionExecuter.java:36)
    20. org.gradle.initialization.DefaultGradleLauncher$3.run(DefaultGradleLauncher.java:143)
    21. org.gradle.internal.Factories$1.create(Factories.java:22)
    22. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    23. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
    24. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:140)
    25. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
    26. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
    27. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
    28. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    29. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
    30. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
    31. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
    31 frames
  17. Gradle Launcher
    InProcessBuildActionExecuter$DefaultBuildController.run
    1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
    1 frame
  18. org.gradle.tooling
    BuildModelActionRunner.run
    1. org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:46)
    1 frame
  19. Gradle Launcher
    ChainingBuildActionRunner.run
    1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    1 frame
  20. org.gradle.tooling
    SubscribableBuildActionRunner.run
    1. org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:58)
    1 frame
  21. Gradle Launcher
    ForwardClientInput$2.call
    1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    2. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
    3. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
    4. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
    5. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
    6. org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
    7. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    8. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    9. org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
    10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    11. org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
    12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    13. org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
    14. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    15. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
    16. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
    16 frames
  22. Gradle Core
    Swapper.swap
    1. org.gradle.util.Swapper.swap(Swapper.java:38)
    1 frame
  23. 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
  24. 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