programı emülatörde başlatınca şöyle bir hata aldımFAILURE: Build failed with an exception.

  • What went wrong:
    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 Manual chapter on the daemon at https://docs.gradle.org/6.7/userguide/gradle_daemon.html
    Process command line: C:\Program Files (x86)\Java\jre1.8.0_261\bin\java.exe -Xmx1536M -Dfile.encoding=windows-1254 -Duser.country=TR -Duser.language=tr -Duser.variant -cp C:\Users\user.gradle\wrapper\dists\gradle-6.7-all\cuy9mc7upwgwgeb72wkcrupxe\gradle-6.7\lib\gradle-launcher-6.7.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.7
    Please read the following process output to find out more:
    ———————–
    Error occurred during initialization of VM
    Could not reserve enough space for 1572864KB object heap
  • Try:
    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.

  • Get more help at https://help.gradle.org
    Exception: Gradle task assembleDebug failed with exit code 1
    Yardımcı olabilecek var mı?

Cistexa
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap
Burada bellekte yer ayıramadığını söylemiş. Ram belleğinizin yeterli olduğunu teyit edin. Görev yöneticisinde ne kadar boşta alan olduğunu görebilirsiniz. Emulatorü çalıştırmadan önce kontrol edin. Yetersiz ise bazı uygulamaları kapatın. Özellikle Chrome çok fazla ram kullanır. Yaklaşık 1.5 gb yer istemiş emulator.

Write a Reply...