Assalamualaykum, alooo sahabat...
Pernah liat error ini di ANdroid studio 1.3 ?
"
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>
"
Kali ini ingin sharing solusinya aja:
awalnya bukan command prompt :
ketik : java --version
Lalu, pada android studio
File>other setting>default setting>Java Compiler
Pada "project bytecode version (leave blank for JDK default)
pilih pada dropdown versi yang sesuai.
lalu, exit Andorid studio
setelah open lagi, proses run akan berjalan normal
Demikian, Semoga bermanfaat
Wassalamualaykum...
Pernah liat error ini di ANdroid studio 1.3 ?
"
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>
"
Kali ini ingin sharing solusinya aja:
awalnya bukan command prompt :
ketik : java --version
Lalu, pada android studio
File>other setting>default setting>Java Compiler
Pada "project bytecode version (leave blank for JDK default)
pilih pada dropdown versi yang sesuai.
lalu, exit Andorid studio
setelah open lagi, proses run akan berjalan normal
Demikian, Semoga bermanfaat
Wassalamualaykum...
No comments:
Post a Comment