Salah satu error yang terjadi pada android studio yaitu,
Error:Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.For example, an unrecognized jvm option is used.Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14.1/userguide/gradle_daemon.htmlPlease read the following process output to find out more:-----------------------Error occurred during initialization of VMCould not reserve enough space for 1572864KB object heap
Pemecahannya yaitu ada ada file gradle.Properties, seperti yang terlihat gambar di atas.
Data
org.gradle.jvmargs=-Xmx512m
diganti menjadi
org.gradle.jvmargs=-Xmx1024m -XX\:MaxPermSize\=51
Kemudian buka kembali program yang anda buat.
Tidak ada komentar:
Posting Komentar