Execution failed for task ‘:app:javaPreCompileDebug‘.

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

查看你的grable版本是多少。

 Execution failed for task ‘:app:javaPreCompileDebug‘._第1张图片

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

google()
jcenter()

否则使用

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

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

你可能感兴趣的:(react,native,react,native)