1.遇到如下错误:
Error:Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
Could not determine artifacts for org.xutils:xutils:3.5.0
Could not get resource 'https://jcenter.bintray.com/org/xutils/xutils/3.5.0/xutils-3.5.0.aar'.
Could not HEAD 'https://jcenter.bintray.com/org/xutils/xutils/3.5.0/xutils-3.5.0.aar'.
Remote host closed connection during handshake
SSL peer shut down incorrectly
看着这个错误,好像是 ':app:debugRuntimeClasspath'.路径不对,导致app build.gradle下所有的.aar包都解析错误,解决办法是如下图,修改service directory path的路径,然后就编译成功了,具体为啥?