android studio 编译时碰上了
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/1.3.1/gradle-1.3.1.pom'. > Could not HEAD 'https://jcenter.bintray.com/com/android/tools/build/gradle/1.3.1/gradle-1.3.1.pom'.
这样子的bug。
解决办法
修改项目根目录下的build.gradle
buildscript { ... repositories { jcenter() maven { url 'https://jitpack.io' } jcenter{ url "http://jcenter.bintray.com/"} } }
改为
buildscript { repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } jcenter { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' } } }