Skip to content
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

Build报apache错是什么原因? #6

Closed
kevin161 opened this issue Nov 22, 2018 · 4 comments
Closed

Build报apache错是什么原因? #6

kevin161 opened this issue Nov 22, 2018 · 4 comments

Comments

@kevin161
Copy link

Error:Could not resolve all files for configuration ':common_base:debugAnnotationProcessorClasspath'.

Could not download commons-collections4.jar (org.apache.commons:commons-collections4:4.1)
Could not get resource 'https://jcenter.bintray.com/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar'.
> Could not GET 'https://jcenter.bintray.com/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar'.
> Remote host closed connection during handshake

@shanksiscool
Copy link

推出,关闭AS看看,我也刚刚遇到handshake问题。重新打开,接着就是慢慢的sync gradle,看它报什么提醒。我刚刚遇到,AS提醒buildToolVersion要update,common_base/build.gradle下的第一行comple替换成implementation之类的小修改

@shanksiscool
Copy link

Error:Could not resolve all files for configuration ':common_base:debugAnnotationProcessorClasspath'.

Could not download commons-collections4.jar (org.apache.commons:commons-collections4:4.1)
Could not get resource 'https://jcenter.bintray.com/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar'.

Could not GET 'https://jcenter.bintray.com/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar'.
Remote host closed connection during handshake

有时候可能是网络问题的,

@kevin161 kevin161 changed the title Build报这个错是什么原因? Build报apache错是什么原因? Nov 22, 2018
@kevin161
Copy link
Author

Error:Could not resolve all files for configuration ':common_base:debugAnnotationProcessorClasspath'.

Could not download commons-collections4.jar (org.apache.commons:commons-collections4:4.1)
Could not get resource 'https://jcenter.bintray.com/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar'.

Could not GET 'https://jcenter.bintray.com/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar'.
Remote host closed connection during handshake

有时候可能是网络问题的,

试了不行

@wutq
Copy link
Owner

wutq commented Nov 23, 2018

jar包下不下来,肯定是网络的锅,或者你把jar包手动下载了扔到你本地的库里去

@wutq wutq closed this as completed Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants