it-swarm.com.de

org.gradle.internal.resolve.ArtifactNotFoundException: play-services-basement.aar konnte nicht gefunden werden

Ich benutze die 15.0.1-Version von Firebase und Google Play Services. Der Build hat heute angefangen zu brechen. Wie kann ich das beheben? Nachfolgend finden Sie die Gradle-Protokolle als Referenz.

[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
4
navneet_kumar

Ich hatte das gleiche Problem. Aus irgendeinem Grund ist die Play-Services-Keller-Bibliothek nicht mehr in jcenter: https://jcenter.bintray.com/com/google/Android/gms/play-services-basement/15.0.1 verfügbar /play-services-basement-15.0.1.aar

Im Repository google ist die Version 15.0.1 jedoch noch verfügbar. Sie können die Bibliothek hier durchsuchen: https://dl.google.com/dl/Android/maven2/index.html

Sie erhalten den Fehler wahrscheinlich, weil Sie das jcenter () - Repository vor dem google () - Repository deklariert haben. Falls eine Bibliothek nicht in dem zuerst angegebenen Repository aufgelöst werden kann, schlägt der Build mit etwa folgendermaßen fehl:

> 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

Stellen Sie sicher, dass Sie das google () - Repository vor jcenter () in Ihrer build.gradle-Datei deklarieren, und es sollte wieder funktionieren:

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

Das Problem ist auf jcenter zurückzuführen. Vor kurzem wurden in jcenter viele Bibliotheken entfernt, aber die POM-Dateien bleiben erhalten . https://jcenter.bintray.com/com/google/Android/gms/play-services-basement/15.0. 1/

Aus irgendwelchen unbekannten Gründen wird jcenter, egal in welcher Reihenfolge Sie Ihre Repositorys einstellen, zuerst nach den Bibliotheken durchsucht. In diesem Fall ist play-services-basement-Version in Ihrem Projekt 15.0.1 und dieselbe Version ist in jcenter verfügbar. Aber die AAR-Datei fehlt, daher wirft gradle einen Fehler. Umgehung (oder ist es das Update?) Ist, die Play-Service-Version auf die neueste Version (16.0.0 oder 16.0.1) zu erhöhen. 

Glücklicherweise verfügt jcenter nicht über die neueste Version für diese Bibliothek. Daher durchsucht gradle jcenter zuerst nach 16.x. Es wird nicht gefunden, dann wird maven durchsucht und von dort heruntergeladen.

Nach der Behebung dieses Problems hatte ich tatsächlich wieder einen Fehler in der Multidex-Instrumentierung, deren Version 1.0.2 war. Ich habe diese Abhängigkeit manuell eingefügt und die Version auf 1.0.3 (neueste Version) geändert, und dann ist der Fehler weg.

Wenn Sie diese Art von Fehler erneut für eine Abhängigkeit erhalten, suchen Sie nach der neuesten Version für diese Abhängigkeit. Fügen Sie die Abhängigkeit mit der neuesten Version manuell in Ihr build.gradle hinzu (auch wenn Sie diese Abhängigkeit zuvor noch nicht aufgenommen haben).

1
muthuraj

Ich habe dieses Problem behoben, wenn die Firebase-Version in meinem Projekt aktualisiert wurde

0
Abbath

Die Antwort von user @ user2350644 und das Herabstufen der Gradle-Version von "3.2.0" auf "3.1.4" hat dieses Problem behoben. Ich habe auch den .gradle-Ordner gelöscht.

0
navneet_kumar