Evandro Aguiar
Member
Hi. There's somewhere that i can find which Android SDK packages i have to download on Android Studio? I'm trying to build using the Build settings of API Level 26 and the IDE is v2.3.1.542 and i'm having this error:
> Task :com.company.gamerocessDebugManifest
W:\com.company.game\src\main\AndroidManifest.xml:27:3-78:17 Warning:
application@android:label was tagged at AndroidManifest.xml:27 to replace other declarations but no other declaration present
W:\com.company.game\src\main\AndroidManifest.xml:28:5-37:16 Warning:
activity#com.company.game.RunnerActivity@android:label was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
> Task :com.company.game:mergeDebugResources
> Task :com.company.gamerocessDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':com.company.gamerocessDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\f209091eb3926c649f0b3346884e478c\appcompat-1.1.0\res\values-v28\values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\f209091eb3926c649f0b3346884e478c\appcompat-1.1.0\res\values-v28\values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\76f2b6439d16df60df3177021482ee5a\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/fontVariationSettings not found.
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\76f2b6439d16df60df3177021482ee5a\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/ttcIndex not found.
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\f209091eb3926c649f0b3346884e478c\appcompat-1.1.0\res\values\values.xml:2772:5-2795:25: AAPT: error: resource android:attr/textFontWeight not found.
* 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
BUILD FAILED in 6s
8 actionable tasks: 4 executed, 4 up-to-date
C:\WINDOWS\system32\cmd.exe DONE (1)
C:\WINDOWS\system32\subst.exe /d W:
C:\WINDOWS\system32\subst.exe DONE (0)
Error : Build Failed
Igor complete.
elapsed time 00:00:10.0651727s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.1.409/bin/Igor.exe" -j=8 -options="C:\Users\evand\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Package started at 02/22/2021 14:01:08
"cmd" /c subst Z: /d
elapsed time 00:00:00.0399901s for command "cmd" /c subst Z: /d started at 02/22/2021 14:01:18
"cmd" /c subst Y: /d
elapsed time 00:00:00.0498939s for command "cmd" /c subst Y: /d started at 02/22/2021 14:01:18
"cmd" /c subst X: /d
elapsed time 00:00:00.0500322s for command "cmd" /c subst X: /d started at 02/22/2021 14:01:18
FAILED: Package Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
> Task :com.company.gamerocessDebugManifest
W:\com.company.game\src\main\AndroidManifest.xml:27:3-78:17 Warning:
application@android:label was tagged at AndroidManifest.xml:27 to replace other declarations but no other declaration present
W:\com.company.game\src\main\AndroidManifest.xml:28:5-37:16 Warning:
activity#com.company.game.RunnerActivity@android:label was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
> Task :com.company.game:mergeDebugResources
> Task :com.company.gamerocessDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':com.company.gamerocessDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\f209091eb3926c649f0b3346884e478c\appcompat-1.1.0\res\values-v28\values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\f209091eb3926c649f0b3346884e478c\appcompat-1.1.0\res\values-v28\values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\76f2b6439d16df60df3177021482ee5a\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/fontVariationSettings not found.
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\76f2b6439d16df60df3177021482ee5a\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/ttcIndex not found.
C:\Users\evand\.gradle\caches\transforms-2\files-2.1\f209091eb3926c649f0b3346884e478c\appcompat-1.1.0\res\values\values.xml:2772:5-2795:25: AAPT: error: resource android:attr/textFontWeight not found.
* 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
BUILD FAILED in 6s
8 actionable tasks: 4 executed, 4 up-to-date
C:\WINDOWS\system32\cmd.exe DONE (1)
C:\WINDOWS\system32\subst.exe /d W:
C:\WINDOWS\system32\subst.exe DONE (0)
Error : Build Failed
Igor complete.
elapsed time 00:00:10.0651727s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.1.409/bin/Igor.exe" -j=8 -options="C:\Users\evand\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Package started at 02/22/2021 14:01:08
"cmd" /c subst Z: /d
elapsed time 00:00:00.0399901s for command "cmd" /c subst Z: /d started at 02/22/2021 14:01:18
"cmd" /c subst Y: /d
elapsed time 00:00:00.0498939s for command "cmd" /c subst Y: /d started at 02/22/2021 14:01:18
"cmd" /c subst X: /d
elapsed time 00:00:00.0500322s for command "cmd" /c subst X: /d started at 02/22/2021 14:01:18
FAILED: Package Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.