web-dev-qa-db-ja.com

org.gradle.internal.resolve.ArtifactNotFoundException:play-services-basement.aarが見つかりませんでした

私は使っている 15.0.1FirebaseとGooglePlay開発者サービスのバージョン。ビルドは今日壊れ始めました。これを修正するにはどうすればよいですか?以下は、参照用のGradleログです。

[org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
[org.gradle.internal.buildevents.BuildExceptionReporter]
[org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
[org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred configuring project ':demo'.
[org.gradle.internal.buildevents.BuildExceptionReporter] > Failed to notify project evaluation listener.
[org.gradle.internal.buildevents.BuildExceptionReporter]    > Java.lang.reflect.InvocationTargetException (no error message)
[org.gradle.internal.buildevents.BuildExceptionReporter]
[org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
[org.gradle.internal.buildevents.BuildExceptionReporter]  Run with --scan to get full insights.
[org.gradle.internal.buildevents.BuildExceptionReporter]
[org.gradle.internal.buildevents.BuildExceptionReporter] * Exception is:
[org.gradle.internal.buildevents.BuildExceptionReporter] org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':demo'.
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.Java:94)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.Java:89)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.Java:70)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.configuration.project.LifecycleProjectEvaluator.access$100(LifecycleProjectEvaluator.Java:34)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.configuration.project.LifecycleProjectEvaluator$ConfigureProject.run(LifecycleProjectEvaluator.Java:110)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.Java:336)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.Java:328)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.Java:199)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.Java:110)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.Java:50)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.Java:667)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.Java:136)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.Java:35)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.Java:62)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.Java:38)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher$ConfigureBuild.run(DefaultGradleLauncher.Java:261)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.Java:336)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.Java:328)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.Java:199)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.Java:110)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.configureBuild(DefaultGradleLauncher.Java:173)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.Java:132)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.Java:115)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.Java:78)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.Java:75)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.Java:152)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.Java:100)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.Java:75)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.runner.ClientProvidedBuildActionRunner.run(ClientProvidedBuildActionRunner.Java:62)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.Java:35)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.Java:35)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.Java:32)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$1.run(RunAsBuildOperationBuildActionRunner.Java:43)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.Java:336)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.Java:328)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.Java:199)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.Java:110)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.Java:40)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.Java:51)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.Java:49)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.Java:32)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.Java:39)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.Java:25)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.Java:80)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.Java:53)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.Java:57)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.Java:32)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.Java:36)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.Java:25)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.Java:43)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.Java:29)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.Java:64)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.Java:29)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.Java:59)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.Java:44)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.Java:45)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.Java:30)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.Java:67)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.Java:36)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.Java:122)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.Java:37)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.Java:122)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.Java:26)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.Java:122)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.Java:34)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.Java:122)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.Java:74)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.Java:72)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.util.Swapper.swap(Swapper.Java:38)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.Java:72)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.Java:122)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.Java:55)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.Java:122)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.Java:62)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.Java:36)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.Java:122)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.Java:82)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.Java:36)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.Java:122)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.Java:50)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.Java:295)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.Java:63)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.Java:46)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.Java:55)
[org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: org.gradle.internal.event.ListenerNotificationException: Failed to notify project evaluation listener.
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.Java:86)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.Java:324)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.Java:234)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.Java:140)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.Java:37)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.Java:93)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at com.Sun.proxy.$Proxy30.afterEvaluate(Unknown Source)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.Java:76)
[org.gradle.internal.buildevents.BuildExceptionReporter]    ... 82 more
[org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: Java.lang.reflect.InvocationTargetException
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.Android25ProjectHandler.computeResourceSetList0(Android25ProjectHandler.kt:151)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.Android25ProjectHandler.getResDirectories(Android25ProjectHandler.kt:110)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.Android25ProjectHandler.getResDirectories(Android25ProjectHandler.kt:18)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.internal.AndroidSubplugin$applyExperimental$4.invoke(AndroidSubplugin.kt:196)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.internal.AndroidSubplugin$applyExperimental$4.invoke(AndroidSubplugin.kt:75)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.Android25ProjectHandler$sam$org_gradle_api_Action$0.execute(Android25ProjectHandler.kt)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.Java:136)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.Android25ProjectHandler.forEachVariant(Android25ProjectHandler.kt:24)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.internal.AndroidSubplugin.applyExperimental(AndroidSubplugin.kt:194)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.internal.AndroidSubplugin.apply(AndroidSubplugin.kt:101)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.internal.AndroidSubplugin.apply(AndroidSubplugin.kt:75)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.SubpluginEnvironment.addSubpluginOptions(KotlinPlugin.kt:816)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.AbstractAndroidProjectHandler.processVariant(KotlinPlugin.kt:636)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.AbstractAndroidProjectHandler.access$processVariant(KotlinPlugin.kt:496)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.AbstractAndroidProjectHandler$handleProject$2$1.invoke(KotlinPlugin.kt:556)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.AbstractAndroidProjectHandler$handleProject$2$1.invoke(KotlinPlugin.kt:496)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.Android25ProjectHandler$sam$org_gradle_api_Action$0.execute(Android25ProjectHandler.kt)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.Java:136)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.Android25ProjectHandler.forEachVariant(Android25ProjectHandler.kt:24)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.AbstractAndroidProjectHandler$handleProject$2.execute(KotlinPlugin.kt:555)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.jetbrains.kotlin.gradle.plugin.AbstractAndroidProjectHandler$handleProject$2.execute(KotlinPlugin.kt:496)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.Java:91)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.Java:80)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.Java:42)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.Java:230)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.Java:149)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.Java:58)
[org.gradle.internal.buildevents.BuildExceptionReporter]    ... 89 more
[org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ':demo:qaDebugRuntimeClasspath'.
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.rethrowFailure(DefaultConfiguration.Java:944)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$1600(DefaultConfiguration.Java:120)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationArtifactCollection.ensureResolved(DefaultConfiguration.Java:1285)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationArtifactCollection.getArtifacts(DefaultConfiguration.Java:1257)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at com.Android.build.gradle.tasks.MergeResources.computeResourceSetList(MergeResources.Java:723)
[org.gradle.internal.buildevents.BuildExceptionReporter]    ... 116 more
[org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find play-services-basement.aar (com.google.Android.gms:play-services-basement:15.0.1).
[org.gradle.internal.buildevents.BuildExceptionReporter] Searched in the following locations:
[org.gradle.internal.buildevents.BuildExceptionReporter]     https://jcenter.bintray.com/com/google/Android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.resolve.result.DefaultBuildableArtifactResolveResult.notFound(DefaultBuildableArtifactResolveResult.Java:27)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver$RemoteRepositoryAccess.resolveArtifact(ExternalResourceResolver.Java:434)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleComponentRepository$ResolveAndCacheRepositoryAccess.resolveArtifact(CachingModuleComponentRepository.Java:427)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository$ErrorHandlingModuleComponentRepositoryAccess.resolveArtifact(ErrorHandlingModuleComponentRepository.Java:181)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainArtifactResolver.resolveArtifact(RepositoryChainArtifactResolver.Java:80)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.ComponentResolversChain$ArtifactResolverChain.resolveArtifact(ComponentResolversChain.Java:121)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingArtifactResolver.resolveArtifact(ErrorHandlingArtifactResolver.Java:46)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.DefaultArtifactSet$LazyArtifactSource.create(DefaultArtifactSet.Java:170)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.DefaultArtifactSet$LazyArtifactSource.create(DefaultArtifactSet.Java:157)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.DefaultResolvedArtifact.getFile(DefaultResolvedArtifact.Java:135)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.ArtifactBackedResolvedVariant$DownloadArtifactFile.run(ArtifactBackedResolvedVariant.Java:148)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.Java:336)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.Java:328)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.Java:199)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.access$900(DefaultBuildOperationExecutor.Java:63)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor$ParentPreservingQueueWorker.execute(DefaultBuildOperationExecutor.Java:378)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable.runOperation(DefaultBuildOperationQueue.Java:230)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable.access$600(DefaultBuildOperationQueue.Java:172)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable$1.call(DefaultBuildOperationQueue.Java:209)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable$1.call(DefaultBuildOperationQueue.Java:203)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.Java:152)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable.runBatch(DefaultBuildOperationQueue.Java:202)
[org.gradle.internal.buildevents.BuildExceptionReporter]    at org.gradle.internal.operations.DefaultBuildOperationQueue$WorkerRunnable.run(DefaultBuildOperationQueue.Java:177)
[org.gradle.internal.buildevents.BuildExceptionReporter]    ... 3 more
[org.gradle.internal.buildevents.BuildExceptionReporter]
[org.gradle.internal.buildevents.BuildExceptionReporter]
[org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
[org.gradle.internal.buildevents.BuildResultLogger]
[org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 55s
5
navneet_kumar

私は同じ問題を抱えています。何らかの理由で、play-services-basementライブラリはjcenterでは利用できなくなりました: https://jcenter.bintray.com/com /google/Android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar

googleリポジトリでは、バージョン15.0.1は引き続き利用できます。ここでライブラリを検索できます: https://dl.google.com/dl/Android/maven2/index.html

Google()リポジトリの前にjcenter()リポジトリを宣言したため、おそらくエラーが発生します。最初に指定したリポジトリでライブラリを解決できない場合、ビルドは次のように失敗します。

> Could not find play-services-basement.aar (com.google.Android.gms:play-services-basement:15.0.1).
  Searched in the following locations:
      https://jcenter.bintray.com/com/google/Android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar

build.gradleファイルでjcenter()の前にgoogle()リポジトリを宣言していることを確認してください。そうすれば、再び機能するはずです。

allprojects {
    repositories {
        google()
        jcenter()
    }
}
16
user2350644

この問題はjcenterが原因です。最近jcenterでは、多くのライブラリaarファイルが削除されていますが、pomファイルはそのまま保持されています。 https://jcenter.bintray.com/com/google/Android/gms/play-services-basement/15.0.1/

そして、いくつかの未知の理由で、リポジトリの順序に関係なく、jcenterは最初にライブラリを検索します。この場合、プロジェクトのplay-services-basementバージョンは15.0.1であり、同じバージョンがjcenterで利用できます。しかし、aarファイルが欠落しているため、gradleはエラーをスローします。回避策(または修正ですか?)は、play-serviceバージョンを最新バージョン(16.0.0または16.0.1)に増やすことです。

幸い、jcenterにはこのライブラリの最新バージョンがないため、gradleは最初にjcenterで16.xを検索しますが、見つかりません。次にmavenを検索し、そこからダウンロードします。

これを修正した後、バージョンが1.0.2であるmultidex-instrumentationで実際に再び関連するエラーが発生しました。その依存関係を手動で含め、バージョンを1.0.3(最新)に変更すると、エラーはなくなりました。

したがって、依存関係についてこの種のエラーが再度発生した場合は、その依存関係の最新バージョンを検索し、最新バージョンの依存関係を手動でbuild.gradleに含めます(以前にその依存関係を含めていない場合でも)。

1
muthuraj

この問題を解決するために、3.2.0から3.1.4にダウングレードし、.gradleフォルダー全体を削除しました。

1
navneet_kumar

プロジェクトでFirebaseのバージョンを更新するときにこれを修正しました

0
Abbath