Gradle Not Synchronizing: ОШИБКА: истекло время ожидания - PullRequest
0 голосов
/ 28 марта 2020

Я создал проект в android, но теперь, когда я открываю синхронизацию запуска своего проекта, и через 15-20 минут я получаю ошибку Time Out для org.gradle.api.resources.ResourceException: Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/6.0/asm-commons-6.0.jar' из-за того, что asm-commons-6.0.jar не загружается. Как исправить эту проблему ..

Причина: org.gradle.internal.resolve.ArtifactResolveException: Не удалось загрузить asm-commons.jar (org.ow2.asm: asm-commons: 6.0) по адресу org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver $ RemoteRepositoryAccess.resolveArtifact (ExternalResourceResolver. java: 483) по адресу org.gradle.api.internal.artifacts.ivyccesstifA CachingModuleComponentRepository. java: 419) в org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository $ ErrorHandlingModuleComponentRepositoryAccess.lambda $ ResolutionArtifactM. .ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository $ ErrorHandlingModuleComponentRepositoryAccess.tryResolveAndMaybeBlacklist (ErrorHandlingModuleComponentRepository. java: 241) в org.gradle.apis.iny. service.ivyresolve.ErrorHandlingModuleComponentRepository $ ErrorHandlingModuleComponentRepositoryAccess.performOperationWithRetries (ErrorHandlingModuleComponentRepository java:. 207) в org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository $ ErrorHandlingModuleComponentRepositoryAccess.resolveArtifact (. ErrorHandlingModuleComponentRepository java: 183) в орг. gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainArtifactResolver.resolveArtifact (RepositoryChainArtifactResolver. java: 100) в org.gradle.api.internal.artifacts.ivyseret 1018 *: 183) в org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.DefaultArtifactSet $ ​​LazyArtifactSource.create (DefaultArtifactSet. java: 170) в org.gradle.api.internal.artifacts.AracttifFile (DefaultResolvedArtifact. java: 173) на org.gradle.api.internal.artifacts.ivyservice.resolveeng ine.artifact. DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor. java: 394) в org.gradle.internal.operations.DefaultBuildOperationExecutor $ 1.execute (DefaultBuildOperationExecutor. javaildExOperationBecutor). . java: 250) в org.gradle.internal.operations.DefaultBuildOperationExecutor.execute (DefaultBuildOperationExecutor. java: 158) в org.gradle.internal.operations.DefaultBuildOperationExecutor.access $ 1500 (DefaultBuildOperationExecutor.) в org.gradle.internal.operations.DefaultBuildOperationExecutor $ ParentPreservingQueueWorker.execute (DefaultBuildOperationExecutor. java: 444) a t org.gradle.internal.operations.DefaultBuildOperationQueue $ WorkerRunnable.runOperation (DefaultBuildOperationQueue. java: 230) в org.gradle.internal.operations.DefaultBuildOperationQueue $ WorkerRunnable.access $ 600 (по умолчаниюBuild2). gradle.internal.operations.DefaultBuildOperationQueue $ WorkerRunnable $ 1.create (DefaultBuildOperationQueue. java: 209) в org.gradle.internal.operations.DefaultBuildOperationQueue $ WorkerRunnable $ 1.create * 20B. internal.work.DefaultWorkerLeaseService.withLocks (DefaultWorkerLeaseService. java: 183) в org.gradle.internal.operations. DefaultBuildOperationQueue $ WorkerRunnable.runBatch (DefaultBuildOperationQueue. java: 203) в org.gradle.internal.operations.DefaultBuildOperationQueue $ WorkerRunnable.run (DefaultBuildOperationQueue. java: 17pleperationO DefaultBuildOperationQueue. java: 116) в org.gradle.internal.operations.DefaultBuildOperationExecutor.executeInParallel (DefaultBuildOperationExecutor. java: 144) в org.gradle.internal.operations.DefaultBuildOperationExecutor.BuildOperationExecutor.RuAll в org.gradle.internal.operations.DelegatingBuildOperationExecutor.runAll (DelegatingBuildOperationExecutor. java: 46) в org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.ParallelResolveArtifactSet. 61) в org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration.visitArtifacts (DefaultLenientConfiguration. java: 256) в org.gradle.api.internal.artifa cts.ivyservice.DefaultLenientConfiguration.access $ 500 (DefaultLenientConfiguration. java: 69) в org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration $ 2.run (DefaultLenientConfiguration. java: 231) в org.gradle.internal. operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor. java: 402) в org.gradle.internal.operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (1BB) .execute (DefaultBuildOperationExecutor. java: 165) в org.gradle.internal.operations.DefaultBuildOperationExecutor.execute (DefaultBuildOperationExecutor. java: 250) в org.gradle.internal.operations.DefaultBuildOperationExecutor.uecute : 158) в org.gradle.internal.operations.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor. java: 92) в org.gradle.internal.operations.DelegatingBu ildOperationExecutor.run (DelegatingBuildOperationExecutor. java: 31) в org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration.visitArtifactsWithBuildOperation (DefaultLenientConfiguration. java: 228) в org.ing.service.gra DefaultLenientConfiguration.access $ 200 (DefaultLenientConfiguration. java: 69) в org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration $ 1.visitArtifacts (DefaultLenientConfiguration. java: 133) в org.gradle.api.internal. configurations.DefaultConfiguration $ ConfigurationArtifactCollection.ensureResolved (DefaultConfiguration. java: 1628) ... еще 136 причин. org.gradle.api.resources.ResourceException: не удалось получить ресурс 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/6.0/asm-commons-6.0.jar'. в org.gradle.internal.resource.ResourceExceptions.failure (ResourceExceptions. java: 74) в org.gradle.internal.resource.ResourceExceptions.getFailed (ResourceExceptions. java: 57) в org.gradle.internal.resource .transfer.AccessorBackedExternalResource.withContentIfPresent (AccessorBackedExternalResource. java: 146) в org.gradle.internal.resource.BuildOperationFiringExternalResourceDecorator $ 11.call (BuildOperationFiringExternalRiringRiring 11.ternal.esourceDeccoration.coco.Excorator: 10). (BuildOperationFiringExternalResourceDecorator. java: 229) в org.gradle.internal.operations.DefaultBuildOperationExecutor $ CallableBuildOperationWorker.execute (DefaultBuildOperationExecutor. java: 416) в org.graild.perationperationBooOuOuист 1061 *: 406) at org.gradle.internal.operations.DefaultBuildOperationExecutor $ 1.execute (DefaultBuildOperationExecutor. java : 165) в org.gradle.internal.operations.DefaultBuildOperationExecutor. execute (DefaultBuildOperationExecutor. java: 250) в org.gradle.internal.operations.DefaultBuildOperationExecutor.execute (DefaultBuildOperationExecutor. java: 158) в org.gradle.internal.operations.DefaultBuildOperationExecutor.call (по умолчанию :BuildOperationExecutor.call (по умолчанию): Default 102) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call (DelegatingBuildOperationExecutor. java: 36) по адресу org.gradle.internal.resource.BuildOperationFiringExternalResourceDecorator.withContentIfPresent *fest_granding.grag .resource.transfer.DefaultCacheAwareExternalResourceAccessor.copyToCache (DefaultCacheAwareExternalResourceAccessor. java: 199) в org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.access $ 300 (defaultCacheAternal.gra). Transfer.DefaultCacheAwareExternalResourceAccessor $ 1.create (DefaultCacheAwareExternalResourceAccessor. java: 89) в org.grad le.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor $ 1.create (DefaultCacheAwareExternalResourceAccessor. java: 81) в org.gradle.cache.internal.ProducerGuard $ AdaptiveProducerGuard.guardByKey (ProducerGuard. 97g. .resource.transfer.DefaultCacheAwareExternalResourceAccessor.getResource (DefaultCacheAwareExternalResourceAccessor. java: 81) в org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.downloadExternal.serg. .internal. .gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver $ RemoteRepositoryAccess.res olveArtifact (ExternalResourceResolver. java: 476) ... еще 179 Причин: java. net .SocketTimeoutException: Тайм-аут чтения

1 Ответ

0 голосов
/ 28 марта 2020

Просто подключите вашу систему к inte rnet, и она загрузит все необходимые файлы, необходимые для этого проекта.

...