* What went wrong:
Out of memory. Java heap space
Possible solution:
- Check the JVM memory arguments defined for the gradle process in:
gradle.properties in project root directory
解决方案
Android Studio中的 File —> Settings —> Appearance & Behavior —> System Settings
—> Memory Settings