Skip to content

Instantly share code, notes, and snippets.

@gblnovaes
Created April 9, 2016 11:02
Show Gist options
  • Save gblnovaes/70a93eb7b4cfafaf51474162b7837e76 to your computer and use it in GitHub Desktop.
Save gblnovaes/70a93eb7b4cfafaf51474162b7837e76 to your computer and use it in GitHub Desktop.
Android Studio 2.0 Error update
Erro apresentado:
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:
<em>org.gradle.jvmargs=-Xmx1024m</em>
<a href="http://www.gradle.org/docs/current/userguide/build_environment.html">Read Gradle's configuration guide</a><br><a href="http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc-ergonomics.html">Read about Java's heap size</a>
Solução:
1 - fechei o projeto
2 - fui até ~/ e removi a pasta oculta .grandle
3 - abri o projeto novamente e aguardei o grandle sincronizar
4 - pronto resolvido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment