Closed GGjin closed 6 years ago
Could not resolve all files for configuration ':app:kapt'. Could not download kryo-shaded.jar (com.esotericsoftware:kryo-shaded:4.0.0) Could not get resource 'https://jcenter.bintray.com/com/esotericsoftware/kryo-shaded/4.0.0/kryo-shaded-4.0.0.jar'. Could not GET 'https://jcenter.bintray.com/com/esotericsoftware/kryo-shaded/4.0.0/kryo-shaded-4.0.0.jar'. Connect to akamai.bintray.com:443 [akamai.bintray.com/23.42.190.84] failed: Connection timed out: connect Could not download guava.jar (com.google.guava:guava:23.5-jre) Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/23.5-jre/guava-23.5-jre.jar'. Could not GET 'https://jcenter.bintray.com/com/google/guava/guava/23.5-jre/guava-23.5-jre.jar'. Connect to akamai.bintray.com:443 [akamai.bintray.com/23.42.190.84] failed: Connection timed out: connect
说是下载不了
我是这么配置的
def apolloVersion = "1.0.1-fix" apollo = [ //Apollo的核心库 core : "com.github.lsxiao.Apollo:core:$apolloVersion", processor: "com.github.lsxiao.Apollo:processor:$apolloVersion", //IPC,如不需要可以不依赖 ipc : "com.github.lsxiao.Apollo:ipc:$apolloVersion" ]
然后在 app的gradle中
implementation apollo.core kapt apollo.processor
这个仓库也添加了
maven { url "https://jitpack.io" }
现在搞好了
说是下载不了
我是这么配置的
然后在 app的gradle中
这个仓库也添加了