Execution failed for task ‘:app:javaPreCompileDebug‘.

这里不考虑使用阿里的镜像,都使用谷歌的。

查看你的grable版本是多少。

 

 如果你的是4及4以上,则使用:
 

google()
jcenter()

否则使用

maven {
  url 'https://maven.google.com'
}
jcenter()

!!!要注意,google.com一定要放在jcenter()的上面,jcenter一定要放在最后一行。

猜你喜欢

转载自blog.csdn.net/weixin_38441229/article/details/132414855