openimsdk / open-im-android-demo

IM Android
https://openim.io
85 stars 82 forks source link

Bug: <describe the error> #31

Closed yzzhou closed 8 months ago

yzzhou commented 10 months ago

What happened?

编译android demo的时候gradle依赖一直获取不到 org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':OUICore:debugCompileClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':OUICore:debugCompileClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.tasks.properties.PropertyEvaluationException: Error while evaluating property 'annotationProcessorClassNames' of task ':OUIContact:javaPreCompileDebug' org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':OUIContact:javaPreCompileDebug' property 'annotationProcessorClassNames'. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':OUIContact:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.tasks.properties.PropertyEvaluationException: Error while evaluating property 'annotationProcessorClassNames' of task ':OUICore:javaPreCompileDebug' org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':OUICore:javaPreCompileDebug' property 'annotationProcessorClassNames'. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':OUICore:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.tasks.properties.PropertyEvaluationException: Error while evaluating property 'annotationProcessorClassNames' of task ':OUIConversation:javaPreCompileDebug' org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':OUIConversation:javaPreCompileDebug' property 'annotationProcessorClassNames'. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':OUIConversation:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.tasks.properties.PropertyEvaluationException: Error while evaluating property 'annotationProcessorClassNames' of task ':OUIGroup:javaPreCompileDebug' org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':OUIGroup:javaPreCompileDebug' property 'annotationProcessorClassNames'. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':OUIGroup:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.tasks.properties.PropertyEvaluationException: Error while evaluating property 'annotationProcessorClassNames' of task ':app:javaPreCompileDebug' org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':app:javaPreCompileDebug' property 'annotationProcessorClassNames'. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.lihangleo2:ShadowLayout:2.0.1.

What did you expect to happen?

编译android demo的时候gradle依赖一直获取不到

How can we reproduce it (as minimally and precisely as possible)?

阿里云镜像也获取不到

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools