• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android Exporting to android broken

H

Humphrey M

Guest
Hey,
I've been trying to export my game to test on an android phone. However, I always get this error :/
Code:
FAILURE: Build failed with an exception.

* What went wrong:
Task 'assembleRelease' not found in root project 'com.companyname.Rally'.

* Try:
Run gradlew tasks to get a list of available tasks. 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.218 secs
cmd /c "subst /d Z:"
The first time I ran it, it seemed to be installing some gradle thing, never seen this before. But (I probably shouldn't have) I stopped it mid-way because it was taking forever to download this thing. Do you know what's going wrong? I have all the SDK stuff set up correctly because only a couple months ago I managed to export another app with exactly the same settings and it worked fine. Also, I don't have the most up to date version of GM 1 (I have 1.4.1772). Tried updating GM but that also seems broken, don't think it could find the newest version to download.

Not sure if this is something to do with yoyogames trying to switch everyone to GM2. This is pretty annoying, I've bought both the master and professional editions of GM1, and the price for 2 seems ridiculous. Will most likely be switching to Unity cause of this...
 

rIKmAN

Member
The first time I ran it, it seemed to be installing some gradle thing, never seen this before. But (I probably shouldn't have) I stopped it mid-way because it was taking forever to download this thing. Do you know what's going wrong
Downloading gradle the first time you run an Android build is normal, it's not YYG's fault you stopped it downloading halfway through and now can't compile.
It's like stopping a game installation halfway through and then complaining it won't boot.
I don't have the most up to date version of GM 1 (I have 1.4.1772). Tried updating GM but that also seems broken, don't think it could find the newest version to download.
You can download any release you like from the Release Notes page, just click the version title and login with your account details once it's installed.
https://www.yoyogames.com/downloads/gm-studio/release-notes-studio.html

I'd recommend uninstalling GMS and any SDK stuff you have installed and start again fresh, letting everything download and install properly this time.
Required SDKs: https://help.yoyogames.com/hc/en-us/articles/227860547-GMS2-Required-SDKs
Setup guide: https://help.yoyogames.com/hc/en-us/articles/115001368727-Setting-Up-For-Android
Will most likely be switching to Unity cause of this...
Bye, have fun!
 
Last edited:
H

Humphrey M

Guest
Downloading gradle the first time you run an Android build is normal, it's not YYG's fault you stopped it downloading halfway through and now can't compile.
It's like stopping a game installation halfway through and then complaining it won't boot.

You can download any release you like from the Release Notes page, just click the version title and login with your account details once it's installed.
https://www.yoyogames.com/downloads/gm-studio/release-notes-studio.html

I'd recommend uninstalling GMS and any SDK stuff you have installed and start again fresh, letting everything download and install properly this time.
Required SDKs: https://help.yoyogames.com/hc/en-us/articles/227860547-GMS2-Required-SDKs
Setup guide: https://help.yoyogames.com/hc/en-us/articles/115001368727-Setting-Up-For-Android

Bye, have fun!
Hey, thanks for the reply.
I know it's not their 'fault', however I've never seen this gradle thing and it downloaded it itself. It was taking forever, so I cancelled it. Now every time I run it, it wont try redownloading it. There's absolutely nothing about how to download it yourself.
Thanks for that, didn't know you could download it that way. Downloading it straight from gamemaker doesn't work for me.
And yep decided to do that, reinstalling JDK/SDK and all that.
 
Top