Сбой сборки Gradle после обновления до Android Studio 3.6 - PullRequest
0 голосов
/ 07 мая 2020

ОШИБКА: сбой сборки с исключением.

  • Что пошло не так: возникла проблема с настройкой root проекта «ClaimsSuppot».

    Не удалось разрешить все файлы для конфигурации ': classpath'. Не удалось найти com. android .tools.build: gradle: 3.0.0. Выполняется поиск в следующих местах: https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar Требуется: project:

  • Попробуйте: запустить с - info или --debug, чтобы получить больше вывода журнала. Запустите с --scan, чтобы получить полную информацию.

  • Исключение: org.gradle.api.ProjectConfigurationException: возникла проблема при настройке root проекта 'ClaimsSuppot'. в org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure (LifecycleProjectEvaluator. java: 94) в org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure (LifecycleProjectEvaluator. java.graject. org.configuration. .LifecycleProjectEvaluator.access $ 100 (LifecycleProjectEvaluator. java: 34) в org.gradle.configuration.project.LifecycleProjectEvaluator $ ConfigureProject.run (LifecycleProjectEvaluator. java: 110) в org.gradle.internal.progress.DefaultBackup выполнить (DefaultBuildOperationExecutor. java: 336) в org.gradle.internal.progress.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor. java: 328) в org.gradle.internal.progress.DefaultBuildExecutor. *: 199) в org.gradle.internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor. java: 110) в org.gradle.configuration.proje ct.LifecycleProjectEvaluator.evaluate (LifecycleProjectEvaluator. java: 50) в org.gradle.api.internal.project.DefaultProject.evaluate (DefaultProject. java: 666) в org.gradle.api.internal.project.DefaultProject. оценить (DefaultProject. java: 135) в org.gradle.execution.TaskPathProjectEvaluator.configure (TaskPathProjectEvaluator. java: 35) в org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy (TaskPathProjectEvaluator. * 1056) .gradle.configuration.DefaultBuildConfigurer.configure (DefaultBuildConfigurer. java: 38) в org.gradle.initialization.DefaultGradleLauncher $ ConfigureBuild.run (DefaultGradleLauncher. java: 249) в org.gradleLauncher. .execute (DefaultBuildOperationExecutor. java: 336) в org.gradle.internal.progress.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor. java: 328) в org.gradle.internal.progress.DefaultExecutor. aultBuildOperationExecutor. java: 199) в org.gradle.internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor. java: 110) в org.gradle.initialization.DefaultGradleLauncher.configureBuilda 10 (по умолчанию: .gradle.initialization.DefaultGradleLauncher.doBuildStages (DefaultGradleLauncher. java: 126) в org.gradle.initialization.DefaultGradleLauncher.getConfiguredBuild (DefaultGradleLauncher. GradleBuildController. java: 87) в org.gradle.internal.invocation.GradleBuildController $ 2.call (GradleBuildController. java: 84) в org.gradle.internal.work.DefaultWorkerLeaseService.withLocks (DefaultWorkerL. ) в org.gradle.internal.invocation.GradleBuildController.doBuild (GradleBuildController. java: 100) в org.gradle.internal.invocation.GradleBuildController.configure (GradleBuildController. java: 84) в org.to. internal.provider.runner.ClientProvid edBuildActionRunner.run (ClientProvidedBuildActionRunner. java: 64) в org.gradle.launcher.exe c .ChainingBuildActionRunner.run (ChainingBuildActionRunner. java: 35) в org.gradle.launcher.exe *. run (ChainingBuildActionRunner. java: 35) в org.gradle.tooling. internal.provider.ValidatingBuildActionRunner.run (ValidatingBuildActionRunner. java: 32) в org.gradle.launcher.exe c .RunAsBuildOperationBuildActionRunner $ 1.run (RunAsBuildOperationBuildActionRunner.Run (RunAsBuildOperationBuildActionRunner). * DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor. java: 336) в org.gradle.internal.progress.DefaultBuildOperationExecut или $ RunnableBuildOperationWorker.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.Decute (DefaultBuildOperationExecutor *. DefaultBuildOperationExecutor. java: 199) в org.gradle.internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor. java: 110) в org.gradle.launcher.exe c .RunAsBuildOperationBuildActionAction (*1083*. : 40) в org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run (SubscribableBuildActionRunner. java: 51) в org.gradle.launcher.exe c .InProcessBuildA ctionExecuter.execute (InProcessBuildActionExecuter. java: 47) в org.gradle.launcher.exe c .InProcessBuildActionExecuter.execute (InProcessBuildActionExecuter. java: 30) в org.gradle.launcherecuter. * 1090 выполнить (BuildTreeScopeBuildActionExecuter. java: 39) в org.gradle.launcher.exe c .BuildTreeScopeBuildActionExecuter.execute (BuildTreeScopeBuildActionExecuter. java: 25) в org.gradle.cuterExecuterExecuter. . java: 80) в org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute (ContinuousBuildActionExecuter. java: 53) в org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.executerExecuter.executerBuildActionExecuter. : 57) в org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute (ServicesSetupBuildActionExecuter. java: 32) в org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuterThreadct.execute ionExecuter. java: 36) в org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute (GradleThreadBuildActionExecuter. java: 25) в org.gradle.tooling.internal.provider.PaildConuteConfiguration.exe (* параллелизм) *: 43) в org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute (ParallelismConfigurationBuildActionExecuter. java: 29) в org.gradle.tooling.internal.provider.StartParamsValidating.executecutexecuter: * StartParamsValidating.exe в org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute (StartParamsValidatingActionExecuter. java: 30) в org.gradle.tooling.internal.provider.SessionFailureReportdleActionExecuteression.exe или 59: SessionFailureReportdleActionExecuteression.exe .tooling.internal.provider.SessionFailureReportingActionExecuter.execute (SessionFailureReportingActionExecuter. java: 44) в org.gradle.tooling.intern al.provider.SetupLoggingActionExecuter.execute (SetupLoggingActionExecuter. java: 45) в org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute (SetupLoggingActionExecuterdle. java: 30) в org.lacher. exe c .ExecuteBuild.doBuild (ExecuteBuild. java: 67) в org.gradle.launcher.daemon.server.exe c .BuildCommandOnly.execute (BuildCommandOnly. java: 36) в org.gradle. launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution. java: 122) в org.gradle.launcher.daemon.server.exe c .WatchForDisconnection.execute (WatchForDisconnection. java: 37) в .gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution. java: 122) в org.gradle.launcher.daemon.server.exe c .ResetDeprecationLogger.execute (ResetDeprecationLogger 26. ) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution. java: 122) в org.gradle.launcher.daemon.server.exe c. RequestStopIfSingleUsedDaemon.execute (RequestStopIfSingleUsedDaemon. java: 34) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecutiondle. java..exe) в org.launcher.gradle. 1122 * .ForwardClientInput $ 2.call (ForwardClientInput. java: 74) в org.gradle.launcher.daemon.server.exe c .ForwardClientInput $ 2.call (ForwardClientInput. java: 72) в org.gradle. util.Swapper.swap (Swapper. java: 38) в org.gradle.launcher.daemon.server.exe c .ForwardClientInput.execute (ForwardClientInput. java: 72) в org.gradle.launcher.daemon .server.api.DaemonCommandExecution.proceed (DaemonCommandExecution. java: 122) в org.gradle.launcher.daemon.server.exe c .LogAndCheckHealth.execute (LogAndCheckHealth. java: 55) в org. launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution. java: 122) в org.gradle.launcher.daemon.server.exe c .LogToClient.doBuild (LogToClient. java: 62) в org .gradle.launcher.daemon.server.exe c. BuildCommandOnly.execute (BuildCommandOnly. java: 36) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution. java: 122) в org.gradle.launser.exe *emon. 1138 * .EstablishBuildEnvironment.doBuild (EstablishBuildEnvironment. java: 82) в org.gradle.launcher.daemon.server.exe c .BuildCommandOnly.execute (BuildCommandOnly. java: 36) в org.gradle.launcher. daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution. java: 122) в org.gradle.launcher.daemon.server.exe c .StartBuildOrRespondWithBusy $ 1.run (StartBuildOrRespond). * С 11 gradle.launcher.daemon.server.DaemonStateCoordinator $ 1.run (DaemonStateCoordinator. java: 295) на org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute (ExecutorPolicy.internal. java: .concurrent.ManagedExecutorImpl $ 1.run (ManagedExecutorImpl. java: 46) в org.gradle.internal.concurrent.ThreadFactoryImpl $ ManagedThreadRunnable.run (ThreadFactoryImpl . java: 55) Вызвано: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration $ ArtifactResolveException: не удалось разрешить все файлы для конфигурации ': classpath'. в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.rethrowFailure (DefaultConfiguration. java: 918) в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access $ 1600 (DefaultConfiguration. java: 116 ) в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration $ ConfigurationFileCollection.getFiles (DefaultConfiguration. java: 892) в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getFiles (DefaultConfiguration. java : 404) в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getFiles (Неизвестный источник) в org.gradle.api.internal.file.AbstractFileCollection.iterator (AbstractFileCollection. java: 68) в org.gradle .internal.classpath.DefaultClassPath. (DefaultClassPath. java: 48) в org.gradle.api.internal.initialization.DefaultScriptClassPathResolver.resolveClassPath (DefaultScriptClassPathResolver. java: 39) в org.gradle.initialization. DefaultScriptHandler.getScriptClassPath (Defa ultScriptHandler. java: 72) в org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.defineScriptHandlerClassScope (DefaultPluginRequestApplicator. java: 204) в org.gradle.plugin.use.internal.DefaultPlugin.Applicator.internal.DefaultPlugin.Request *: 82) в org.gradle.configuration.DefaultScriptPluginFactory $ ScriptPluginImpl.apply (DefaultScriptPluginFactory. java: 179) в org.gradle.configuration.BuildOperationScriptPlugin $ 1.run (BuildOperationScriptPlugindle. java: 61) в org. internal.progress.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor. java: 336) в org.gradle.internal.progress.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute или $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor). DefaultBuildOperationExecutor.execute (DefaultBuildOperationExecutor. java: 199) в org.gradle.internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor. java: 110) в org.gradle.appfiguration.BginuildOperationScript: *. 58) в org.gradle.configuration.project.BuildScriptProcessor.execute (BuildScriptProcessor. java: 41) в org.gradle.configuration.project.BuildScriptProcessor.execute (BuildScriptProcessor. java: 26) в org.gradle.configuration .project.ConfigureActionsProjectEvaluator.evaluate (ConfigureActionsProjectEvaluator. java: 34) в org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure (LifecycleProjectEvaluator. java: 64) ... еще 81 Предоставлено: org.gradle.internal resolve.ModuleVersionNotFoundException: не удалось найти com. android .tools.build: gradle: 3.0.0. Выполняется поиск в следующих местах: https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar Требуется для: project: at org.gradle.internal.resolve.result.DefaultBuildableComponentResolveResult.notFound (DefaultBuildableComponentResolveResult. java: 38) в org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolveModule (RepositoryChainComponentMetaDataResolver java:. 108) в org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolve (RepositoryChainComponentMetaDataResolver. java: 63) в org.gradle.api.internal.artifacts.ivyservice.resolveengine.ComponentResolversChain $ ComponentMetaDataResolverChain.resolve (ComponentResolversChain. java: 93) в org.gradleservice.api.internaly.artifacts. ClientModuleResolver.resolve (ClientModuleResolver. java: 48) в org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.ComponentState.resolve (ComponentState. java: 157) в org.gradle.api. internal.arti fact.ivyservice.resolveengine.graph.builder.ComponentState.getMetaData (ComponentState. java: 168) в org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.EdgeState.calculateTargetConfigurations (* EdgeState. : 134) на org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.EdgeState.attachToTargetConfigurations (EdgeState. java: 105) на org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph .builder.DependencyGraphBuilder.attachToTargetRevisionsSerially (DependencyGraphBuilder. java: 239) по адресу org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilges.Builder.DependencyGraphBuilges. .api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilder.traverseGraph (DependencyGraphBuilder. java: 143) по адресу org.gradle.api.internal.artifacts.ivyservevice.resolveengine.graphilder. DependencyGraphBuilder. java: 109) в org.gradle.api.inter nal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve (DefaultArtifactDependencyResolver. java: 90) в org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolveGraiguration 14: *. api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolveGraph (ShortCircuitEmptyConfigurationResolver. java: 73) в org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.configurationResolver. api.internal.artifacts.configurations.DefaultConfiguration $ 4.run (DefaultConfiguration. java: 483) в org.gradle.internal.progress.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor. java: 336 .progress.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor. java: 328) в org.gradle.internal.progress.DefaultBuildOperationExec utor.execute (DefaultBuildOperationExecutor. java: 199) в org.gradle.internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor. java: 110) в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired (DefaultConfiguration. java: 474) в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveToStateOrfiguration. java: 459) в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access $ 1700 (DefaultConfiguration. java: 116) в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration $ ConfigurationFileCollection.getSelectedArtifacts (DefaultConfiguration. java: 901) в org.gradle.api.internal.artifacts.configurations.DefaultConfiguration $ ConfigurationFileCollection.getFiles (DefaultConfiguration. java: 889) ... еще 100

  • Получите дополнительную помощь по телефону https://help.gradle.org

СБОЙ КОНФИГУРАЦИИ через 4 с

...