Android Unable to start the daemon process?

Discussion in 'GameMaker Studio 2 Community Tech Support' started by obsidiannovels, Jun 28, 2019.

  1. obsidiannovels

    obsidiannovels Member

    Joined:
    Jun 20, 2016
    Posts:
    244
    Hi,

    Trying to compile a very simple test project (just one room with a single object drawing the text "test" on the screen, works fine in Windows) onto my Android device. The device is found by GM:S and the test-connection works fine.

    But I get an error when trying to compile:


    Code:
    FAILURE: 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 guide chapter on the daemon at https://docs.gradle.org/3.1/userguide/gradle_daemon.html
    Please read the following process output to find out more:
    -----------------------
    Error occurred during initialization of VM
    Could not reserve enough space for 2621440KB object heap
    What is causing this? How can I fix it? I did update the Android SDK, but not NDK + JDK. Not really sure how to update the latter ones (or should I just uninstall and download it again?). If someone could tell me, I'd appreciate it.
     
  2. obsidiannovels

    obsidiannovels Member

    Joined:
    Jun 20, 2016
    Posts:
    244
  3. Cxiaodong

    Cxiaodong Member

    Joined:
    Jan 5, 2019
    Posts:
    2
    I also encountered the same problem, have you solved it?
     
  4. Cxiaodong

    Cxiaodong Member

    Joined:
    Jan 5, 2019
    Posts:
    2
    我解决了这个问题,请检查您的JDK是x86还是x64,具体取决于您的Windows系统
     
  5. Armand Sotelo

    Armand Sotelo Member

    Joined:
    Jan 12, 2020
    Posts:
    1
    same,, anyoneee?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice