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

Android Game Maker Mobile can't build/run anymore

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

  1. Sorry_For_Dumb_Questions

    Sorry_For_Dumb_Questions Member

    Joined:
    Nov 24, 2018
    Posts:
    22
    Everything was good then i added a basic code like
    " if device_mouse_check_button_pressed(i , mb_left " bla bla.

    Then when i run the game for test, the program couldn't run. (or build).

    I tried : Clean button , try to run a fresh/empty project , using previous version of runtime master, close/open program, close/open pc..
    Still same.

    here is log: (the project is empty btw)

    Code:
    (...)
    option_android_tv_banner = ${base_options_dir}\android\tv_banner.png
    option_android_tv_isgame = True
    option_android_use_facebook = False
    option_android_version = Igor.YYDictionary`2[System.String,System.Object]
    usesShaders = False
    Deleting armeabi
    Deleting mips
    C:\Windows\system32\cmd.exe /c "subst W: "Z:/dsdsdsd_46EEC7ED\Android\default" && W: && cd \com.company.game && "X://android/runner\gradle\gradlew" build  assembleRelease  -x lint  "
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    A problem occurred configuring root project ''.
    > Could not resolve all dependencies for configuration ':classpath'.
       > Could not find any version that matches com.android.tools.build:gradle:2.2.0+.
         Versions that do not match:
             2.3.0
             2.1.3
             2.1.2
             2.1.0
             2.0.0
             + 71 more
         Searched in the following locations:
             https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml
             https://jcenter.bintray.com/com/android/tools/build/gradle/
             https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml
         Required by:
             project :
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BU´┐ŻLD FAILED
    
    Total time: 2.796 secs
    
    
    C:\Windows\system32\cmd.exe DONE (1)
    C:\Windows\system32\subst.exe /d W:
    
    
    C:\Windows\system32\subst.exe DONE (0)
    System.Exception: Build Failed
       konum: Igor.AndroidUtils.(YYDictionary`2 , String , Boolean , String )
       konum: Igor.AndroidBuilder.Deploy(Boolean _exe)
       konum: Igor.AndroidBuilder.Run()
    Igor complete.
    elapsed time 00:00:08.2312516s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.1.287/bin/Igor.exe" -options="C:\Users\L\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff"  -- Android Run started at 12/10/2018 18:55:18
    "cmd"  /c subst Z: /d
    
    elapsed time 00:00:00.0900597s for command "cmd" /c subst Z: /d started at 12/10/2018 18:55:26
    "cmd"  /c subst Y: /d
    
    elapsed time 00:00:00.0519797s for command "cmd" /c subst Y: /d started at 12/10/2018 18:55:26
    "cmd"  /c subst X: /d
    
    elapsed time 00:00:00.0504519s for command "cmd" /c subst X: /d started at 12/10/2018 18:55:26
    FAILED: Run Program Complete
     
  2. Caroline Anderson

    Caroline Anderson Member

    Joined:
    Sep 22, 2016
    Posts:
    5
    I'm getting this too, no change to the code since last successful build.
     
  3. Caroline Anderson

    Caroline Anderson Member

    Joined:
    Sep 22, 2016
    Posts:
    5
  4. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,655
  5. 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?
     
  6. Sorry_For_Dumb_Questions

    Sorry_For_Dumb_Questions Member

    Joined:
    Nov 24, 2018
    Posts:
    22

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