1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Discussion Android Compiling Problem(Gamemaker Studio 2 Version 2.2.1)

Discussion in 'GameMaker Studio 2 Community Tech Support' started by flykidsblue1, Dec 10, 2018.

  1. flykidsblue1

    flykidsblue1 Member

    Joined:
    Jul 6, 2017
    Posts:
    40
    Hey everyone! After the new update I can no longer compile for YYC in android. I have been trying to find the root of the issue with no avail. It seems that there is a swap of directories because I am having the "droid" directory pointing to "Y:\\" rather than c. I'll be leavng the compiling message for those interested in seeing the whole directory.

    Writing Chunk... AUDO ClangExeLocation=C:\Program Files\Android\android-ndk-r16b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe Using NDKDir = C:\Program Files\Android\android-ndk-r16b Using PlatformDir = C:\Program Files\Android\android-ndk-r16b\platforms\android-27 Using ARMToolChain = C:\Program Files\Android\android-ndk-r16b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64 Using X86ToolChain = C:\Program Files\Android\android-ndk-r16b\toolchains\x86-4.9\prebuilt\windows-x86_64 Using ARM64ToolChain = C:\Program Files\Android\android-ndk-r16b\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64 Using X86_64ToolChain = C:\Program Files\Android\android-ndk-r16b\toolchains\x86_64-4.9\prebuilt\windows-x86_64 saving file Y:/hacker_exe_B39E8CE_YYC\hacker_exe.droid 'C:\Program' is not recognized as an internal or external command, operable program or batch file. Stats : GMA : Elapsed=98754.1758 Stats : GMA : sp=393,au=96,bk=0,pt=54,sc=135,sh=4,fo=21,tl=0,ob=430,ro=62,da=0,ex=5,ma=350,fm=0xE0C8B39D6FFF2EB1 X://bin/GMAssetCompiler.exe exited with non-zero status (1)

    Any help would be appreciated, thanks!
     
  2. BaBiA Game Studio

    BaBiA Game Studio Member

    Joined:
    Jun 20, 2016
    Posts:
    867
    Have you tried putting all of the NDK, and tools in a folder that is not inside "Program Files", and is a folder without a space in the folder name? It looks to me like the error is being caused by the space in "Program Files" folder name, and it is only reading the folder as "C:\Program".
     
  3. Guest

    Guest Guest

    @Nocturne There's like two of these a day. Maybe get someone's grandma and sit there and watch her go through the Android setup instructions? Maybe add links to the SDK/JDK/NDK downloads list as well; perhaps you can't do direct links, but point people to the right pages. Also remove the outdated reference to the command line SDK manager, or, even better if legal, build this stuff into GMS2. I've seen another Android-app-building tool do this, with included EULAs for each piece as needed.

    Pain for YYG? Sure. $400? YYG set its own bar.
     
  4. Genetix

    Genetix Member

    Joined:
    Jun 22, 2016
    Posts:
    611
    I appreciate the steps by Nocturne for fixing the issue - However after doing so GMS2 tells me when attempting to sweep the cache that the cache is locked and can't be cleaned. This is on Windows 10 and happens even after rebooting the computer and making sure no files are open anywhere. Anyone else have this issue or any ideas to resolve it?
     
  5. flykidsblue1

    flykidsblue1 Member

    Joined:
    Jul 6, 2017
    Posts:
    40
    I will be trying this out, I am not sure what caused this issue since it never occured to me before. I don't know if I should file this as a bug or if there is something wrong with my directories...
     
  6. flykidsblue1

    flykidsblue1 Member

    Joined:
    Jul 6, 2017
    Posts:
    40
    I am lost. Did I miss anything?
     

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