./gradlew build编译时出现一些下载问题
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
> Could not resolve com.avl.modules:lib_ctxmgr:0.1.1.
Required by:
project :app
> Could not resolve com.avl.modules:lib_ctxmgr:0.1.1.
> Could not get resource 'https://registry-mirrors.avlyun.org/repository/maven-releases/com/avl/modules/lib_ctxmgr/0.1.1/lib_ctxmgr-0.1.1.pom'.
> Could not GET 'https://registry-mirrors.avlyun.org/repository/maven-releases/com/avl/modules/lib_ctxmgr/0.1.1/lib_ctxmgr-0.1.1.pom'.
> Remote host closed connection during handshake
发现是代理问题,需要把全局的gradlew代理关掉,把~/.gradle/gradle.properties文件的代理代码注释掉