Android [SOLVED]APK won't build for Android

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Thunder Lion, Feb 7, 2018.

  1. Thunder Lion

    Thunder Lion Member

    Joined:
    Aug 11, 2016
    Posts:
    239
    Okay to the point then, I am trying to build the APK for android, to be clear I have all the settings correct as far as testing out my game on my Android devices (I've done them already, it works) but the issue is I get this error while trying to build:

    ----------------
    C:\WINDOWS\system32\subst.exe DONE (0)
    System.Exception: Build Failed
    at ..(YYDictionary`2 , String , String , Boolean , String )
    at Igor.AndroidBuilder.Package()Igor complete.
    elapsed time 00:00:12.7336734s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/Igor.exe" -options="C:\Users\Erick Rosa\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Android Package started at 02/07/2018 10:57:13
    "cmd" /c subst Y: /d

    elapsed time 00:00:00.3968493s for command "cmd" /c subst Y: /d started at 02/07/2018 10:57:26
    FAILED: Package Program Complete

    ----------------

    What is the issue??

    Okay so I'm attempting a fix: https://help.yoyogames.com/hc/en-us/articles/115001624867-Compiling-Your-Android-App

    I reviewed this page and now am trying their directed approach, I will update.

    Same issue the java.io.... keeps making the error?
     
    Last edited: Feb 7, 2018
  2. Thunder Lion

    Thunder Lion Member

    Joined:
    Aug 11, 2016
    Posts:
    239
    FAILURE: Build failed with an exception.

    * Where:
    Settings file 'X:\settings.gradle' line: 1

    * What went wrong:
    A problem occurred evaluating settings ''.
    > java.io.IOException: The filename, directory name, or volume label syntax is incorrect

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

    Total time: 1.052 secs


    C:\WINDOWS\system32\cmd.exe DONE (1)
    C:\WINDOWS\system32\subst.exe /d X:


    C:\WINDOWS\system32\subst.exe DONE (0)
    System.Exception: Build Failed
    at ..(YYDictionary`2 , String , String , Boolean , String )
    at Igor.AndroidBuilder.Package()Igor complete.
    elapsed time 00:00:11.8280846s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/Igor.exe" -options="C:\Users\Erick Rosa\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Android Package started at 02/07/2018 11:02:10
    "cmd" /c subst Y: /d

    elapsed time 00:00:00.3988304s for command "cmd" /c subst Y: /d started at 02/07/2018 11:02:21
    FAILED: Package Program Complete
     
  3. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    124
    Did you manage to solve the issue? I'm getting it right now :(
     
  4. MarkGuilams

    MarkGuilams Member

    Joined:
    Dec 2, 2018
    Posts:
    19
    I'm having the exact same issue. Android just doesn't work with GMS2. It's a fact we'll just have to contend with.
     
  5. Mool

    Mool Member

    Joined:
    Nov 6, 2016
    Posts:
    101
    I have that sometimes too. After clearing cache and/or restart GM it works.

    Is therea lint report?
     

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