配置java开发环境JDK:
http://jingyan.baidu.com/article/e9fb46e1b2b3347521f766c1.html
问题1.
Error:Invalid Gradle JDK configuration found. Open Gradle Settings Platform SDK does not point to valid JDK (C:/javabao) Open File
解决办法:打开File-Project Structure 将jdk路径改为当前使用的jdk路径即可。例如C:\Program Files\Java\jdk1.7.0_67
问题2.
1.Failed to sync Gradle project ‘JunitTest’
Error:Unable to start the daemon process: could not reserve enough space for object heap.
Please assign more memory to Gradle in the project’s gradle.properties file.
For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB:
org.gradle.jvmargs=-Xmx1024m
Read Gradle’s configuration guide
Read about Java’s heap size
解决办法: