• 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 Android export ERROR Gamemaker Studio 2 (2.3)

S

Snyrch

Guest
Hi,
I need advice on exporting to android. I have purchased a mobile license for Gamemaker studio 2 (version 2.3) and although all SDKs, NDKs and JAVA SDKs are set up correctly, it is not possible to export an empty (newly created) game, do you not know what is causing this error listing?


Task :cz.no1web.test_tom_pokus:processDebugManifest
K:\cz.no1web.test_tom_pokus\src\main\AndroidManifest.xml:28:3-77:17 Warning:
application@android:label was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
K:\cz.no1web.test_tom_pokus\src\main\AndroidManifest.xml:29:5-38:16 Warning:
activity#cz.no1web.test_tom_pokus.RunnerActivity@android:label was tagged at AndroidManifest.xml:29 to replace other declarations but no other declaration present
K:\cz.no1web.test_tom_pokus\src\main\AndroidManifest.xml:28:3-77:17 Warning:
application@android:label was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
K:\cz.no1web.test_tom_pokus\src\main\AndroidManifest.xml:29:5-38:16 Warning:
activity#cz.no1web.test_tom_pokus.RunnerActivity@android:label was tagged at AndroidManifest.xml:29 to replace other declarations but no other declaration present

> Task :cz.no1web.test_tom_pokus:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':cz.no1web.test_tom_pokus:processDebugResources'.
> Android resource linking failed
C:\Users\jsnyr\.gradle\caches\transforms-2\files-2.1\e9eb9a1c6c768b62eedef71830fca52a\res\values-v26\values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.

C:\Users\jsnyr\.gradle\caches\transforms-2\files-2.1\e9eb9a1c6c768b62eedef71830fca52a\res\values-v26\values-v26.xml:13:5-16:13: AAPT: error: resource android:attr/colorError not found.

C:\Users\jsnyr\.gradle\caches\transforms-2\files-2.1\e9eb9a1c6c768b62eedef71830fca52a\res\values-v26\values-v26.xml:17:5-93: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.

C:\Users\jsnyr\.gradle\caches\transforms-2\files-2.1\e9eb9a1c6c768b62eedef71830fca52a\res\values-v28\values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

K:\cz.no1web.test_tom_pokus\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:11: AAPT: error: resource android:attr/dialogCornerRadius not found.

C:\Users\jsnyr\.gradle\caches\transforms-2\files-2.1\e273812d46e9e4581f2c54c16003b99f\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/fontStyle not found.

C:\Users\jsnyr\.gradle\caches\transforms-2\files-2.1\e273812d46e9e4581f2c54c16003b99f\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/font not found.

C:\Users\jsnyr\.gradle\caches\transforms-2\files-2.1\e273812d46e9e4581f2c54c16003b99f\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/fontWeight not found.

C:\Users\jsnyr\.gradle\caches\transforms-2\files-2.1\e273812d46e9e4581f2c54c16003b99f\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/fontVariationSettings not found.

C:\Users\jsnyr\.gradle\caches\transforms-2\files-2.1\e273812d46e9e4581f2c54c16003b99f\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/ttcIndex not found.

error: failed linking references.

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

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s
11 actionable tasks: 4 executed, 7 up-to-date


C:\Windows\system32\cmd.exe exited with non-zero status (1)
 
Have you installed Visual Studio 2015 (or 2017)? Can you compile to YYC for Windows? It's just that I also had such a problem, when I purchased the mobile version, it turned out that I did not install visual studio.
P.s. but now I have another problem after upgrading to gms 2.3 - when adding google play services the project does not compile.
 
Last edited:
S

Snyrch

Guest
Building a project for windows (YYC) is hassle-free. But for android it reports various error messages, from linking the project in case of complication to (with API more than 25) that gradle 6.0 is incompatible (I hard-coded and set the latest Gade 6.6.1 yesterday). And today I'm getting a new error message that I can't get rid of anymore:
"
DoSplash
DoIcon
System.Exception: no free drive letter available
v ... ()
in Igor.AndroidBuilder.CreateTargetExe ()
in Igor.AndroidBuilder.Run ()
Igor complete.
"
 

Tornado

Member
System.Exception: no free drive letter available
GMS creates 3 "virtual" drives when compiling/building: X:, Y: and Z:
Maybe you should ensure wenn you compile that no other device (some USB devices?) occupies those drives.
I don't know how GMS reacts when those 3 letters are not free. I never tried it.

Are you sure you have correct Android settings?
I'm using latest GMS2 Beta.

This is works for me:
1604069934145.png

1604070036936.png
 
Last edited:
Top