-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
couldn't run the demo code #34
Comments
I have the same error |
我不知道你们是怎样的,我打开项目无法识别gradle,直到我打开项目文件夹的Demo文件夹,一切正常运行 |
也许你应该尝试使用代理 |
这个open-im的文档是真的烂 |
Try to clean your gradle's cache folder, and rebuild it. |
Same error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
clone this code, when building in cell phone, then get some errors
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':OUICore:debugCompileClasspath'.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.internal.resolve.ArtifactResolveException: Could not download core-sdk-3.5.1.aar (io.openim:core-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/core-sdk/3.5.1/core-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 27,488,871; received: 32,275)
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':OUICore:debugCompileClasspath'.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.internal.resolve.ArtifactResolveException: Could not download core-sdk-3.5.1.aar (io.openim:core-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/core-sdk/3.5.1/core-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 27,488,871; received: 32,275)
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.api.internal.artifacts.transform.TransformException: Failed to transform android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1) to match attributes {artifactType=android-symbol-with-package-name, org.gradle.status=release}.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
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.api.internal.artifacts.transform.TransformException: Failed to transform android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1) to match attributes {artifactType=android-symbol-with-package-name, org.gradle.status=release}.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
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.api.internal.artifacts.transform.TransformException: Failed to transform android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1) to match attributes {artifactType=android-symbol-with-package-name, org.gradle.status=release}.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
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.api.internal.artifacts.transform.TransformException: Failed to transform android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1) to match attributes {artifactType=android-symbol-with-package-name, org.gradle.status=release}.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.internal.resolve.ArtifactResolveException: Could not download core-sdk-3.5.1.aar (io.openim:core-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/core-sdk/3.5.1/core-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 27,488,871; received: 32,275)
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.internal.resolve.ArtifactResolveException: Could not download core-sdk-3.5.1.aar (io.openim:core-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/core-sdk/3.5.1/core-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 27,488,871; received: 32,275)
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.internal.resolve.ArtifactResolveException: Could not download core-sdk-3.5.1.aar (io.openim:core-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/core-sdk/3.5.1/core-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 27,488,871; received: 32,275)
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.api.internal.artifacts.transform.TransformException: Failed to transform android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1) to match attributes {artifactType=android-symbol-with-package-name, org.gradle.status=release}.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.internal.resolve.ArtifactResolveException: Could not download core-sdk-3.5.1.aar (io.openim:core-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/core-sdk/3.5.1/core-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 27,488,871; received: 32,275)
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.internal.resolve.ArtifactResolveException: Could not download core-sdk-3.5.1.aar (io.openim:core-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/core-sdk/3.5.1/core-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 27,488,871; received: 32,275)
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
org.gradle.internal.resolve.ArtifactResolveException: Could not download android-sdk-3.5.1.aar (io.openim:android-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/android-sdk/3.5.1/android-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 111,093; received: 32,277)
org.gradle.internal.resolve.ArtifactResolveException: Could not download core-sdk-3.5.1.aar (io.openim:core-sdk:3.5.1)
org.gradle.api.resources.ResourceException: Could not get resource 'https://open-im-online.rentsoft.cn:51000/repository/maven2/io/openim/core-sdk/3.5.1/core-sdk-3.5.1.aar'.
org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 27,488,871; received: 32,275)
What did you expect to happen?
successful running
How can we reproduce it (as minimally and precisely as possible)?
clone it and running again
Anything else we need to know?
可以用中文
version
Cloud provider
OS version
Install tools
The text was updated successfully, but these errors were encountered: