Android APK Compile Error

Mr Errorz

Member
Hi,

I am trying to make an APK for the first time on GMS2 and running into trouble..
When I try to create a build, I get this error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':com.company.game'.
> Failed to find Build Tools revision 26.1.1

* 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: 5.46 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.
"cmd" /c subst Y: /d

elapsed time 00:01:47.9201900s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200/bin/Igor.exe" -options="C:\Users\user\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Android Package started at 04/08/2018 20:48:37
elapsed time 00:00:00.0200000s for command "cmd" /c subst Y: /d started at 04/08/2018 20:50:25
---------- STOPPING ----------
FAILED: Package Program Complete

If I understand correctly, it seems the error is: Failed to find Build Tools revision 26.1.1
But, I do have it installed, here's a cap from my android studio, showing that 26.1.1 is installed-




Any ideas?
 

Attachments

M

MarkGuilams

Guest
Hi,

I am trying to make an APK for the first time on GMS2 and running into trouble..
When I try to create a build, I get this error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':com.company.game'.
> Failed to find Build Tools revision 26.1.1

* 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: 5.46 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.
"cmd" /c subst Y: /d

elapsed time 00:01:47.9201900s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200/bin/Igor.exe" -options="C:\Users\user\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Android Package started at 04/08/2018 20:48:37
elapsed time 00:00:00.0200000s for command "cmd" /c subst Y: /d started at 04/08/2018 20:50:25
---------- STOPPING ----------
FAILED: Package Program Complete

If I understand correctly, it seems the error is: Failed to find Build Tools revision 26.1.1
But, I do have it installed, here's a cap from my android studio, showing that 26.1.1 is installed-




Any ideas?
Have you managed to fix this error? Because I haven't... This 💩💩💩💩 sucks.
 

Mr Errorz

Member
Have you managed to fix this error? Because I haven't... This **** sucks.
I did..
such a long time ago, so I can't remember exactly what fixed it,
but I think it was just updating all the stuff in Android Studio, and than inputting the correct numbers in the Android options window.
I think at one point I had it configured like this [screen], and it worked.
Hope that helps.
 

Attachments

Top