• 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 Can't run empty project: Build failed

Baldi

Member
I would like to make my first steps towards making an android game and followed this yoyogames article on getting set up: https://help.yoyogames.com/hc/en-us/articles/115001368727-Setting-Up-For-Android-or-Amazon-Fire

I have since been trying to get a fresh, empty project to run on my phone but will only get an "Error: Build Failed".
"cmd" /c subst Z: "C:\Users\anato\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0578163s for command "cmd" /c subst Z: "C:\Users\anato\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 01/10/2021 01:14:07
"cmd" /c subst Y: "C:\Users\anato\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0555091s for command "cmd" /c subst Y: "C:\Users\anato\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 01/10/2021 01:14:07
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.1.409"

elapsed time 00:00:00.0665445s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.1.409" started at 01/10/2021 01:14:07
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.1.409/bin/Igor.exe" -j=8 -options="C:\Users\anato\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run

Loaded Macros from C:\Users\anato\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\click_CC934E57\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\anato\AppData\Roaming/GameMakerStudio2\name_957779\local_settings.json
Options: C:\Users\anato\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\click_CC934E57\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="click" /td="Y:/" /cd="Z:/click_CC934E57" /zpuf="C:\Users\anato\AppData\Roaming/GameMakerStudio2\name_957779" /m=android /tgt=8 /studio /nodnd /cfg="Default" /fU="Z:/click_CC934E57\functionsUsed.txt" /o="Y:/click_777DBD46_VM" /optionsini="Y:/click_777DBD46_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\anato\Desktop\local_dev\click\click.yyp" /preprocess="Z:/click_CC934E57"
We have a Zeus Project!
Found Project Format 2
ProjectFileWatcher:StartWatching:C:\Users\anato\Desktop\local_dev\click
Started: 1/10/2021 1:14:09 AM
Finished: 1/10/2021 1:14:09 AM
Diff: 00:00:00.6298225
Loaded Project: click
finished.
Release build
Options: Z:/click_CC934E57\ExtensionOptions.json
PlatformOptions
Options: Z:/click_CC934E57\PlatformOptions.json
Options: Z:/click_CC934E57\MainOptions.json
displayname
hostname
runtime
OptionsIni
PlatformOptions
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="click" /td="Y:/" /cd="Z:/click_CC934E57" /zpuf="C:\Users\anato\AppData\Roaming/GameMakerStudio2\name_957779" /m=android /tgt=8 /studio /nodnd /cfg="Default" /fU="Z:/click_CC934E57\functionsUsed.txt" /o="Y:/click_777DBD46_VM" /optionsini="Y:/click_777DBD46_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\anato\Desktop\local_dev\click\click.yyp" /arch=18 /bt=run /rt=vm
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Rooms...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Saving IFF file... Y:/click_777DBD46_VM\click.zip
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ACRV
Writing Chunk... SEQN
Writing Chunk... TAGS
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... DFNC
Writing Chunk... STRG
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... DFNC
Writing Chunk... STRG
Stats : GMA : Elapsed=421.38
Stats : GMA : sp=0,au=0,bk=0,pt=0,sc=0,sh=0,fo=0,tl=0,ob=0,ro=1,da=0,ex=0,ma=2,fm=0x0
device

DoSplash
DoIcon
AndroidEnvironment
Manifest Permissions
Manifest Metadata
Check GML functions
Licensing
Creating APK Z:/click_CC934E57\click_armeabi-v7a_arm64-v8a_v1.0.0.apk for arch 18
3
Copying X://android/runner\RootFiles\build.gradle to Z:/click_CC934E57\Android\Default\build.gradle...
Copying X://android/runner\RootFiles\gradle.properties to Z:/click_CC934E57\Android\Default\gradle.properties...
Copying X://android/runner\RootFiles\settings.gradle to Z:/click_CC934E57\Android\Default\settings.gradle...
62
Copying X://android/runner\ProjectFiles\build.gradle to Z:/click_CC934E57\Android\Default\com.company.game\build.gradle...
Copying X://android/runner\ProjectFiles\lint.xml to Z:/click_CC934E57\Android\Default\com.company.game\lint.xml...
Copying X://android/runner\ProjectFiles\libs\ini4j-0.5.2.jar to Z:/click_CC934E57\Android\Default\com.company.game\libs\ini4j-0.5.2.jar...
Copying X://android/runner\ProjectFiles\src\main\AndroidManifest.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\AndroidManifest.xml...
Copying X://android/runner\ProjectFiles\src\main\assets\splash.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\assets\splash.png...
Copying X://android/runner\ProjectFiles\src\main\java\com\yoyogames\runner\RunnerJNILib.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\yoyogames\runner\RunnerJNILib.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\AdvertisingBase.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\AdvertisingBase.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoGLSurfaceView.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\DemoGLSurfaceView.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoRenderer.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\DemoRenderer.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoRendererGL2.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\DemoRendererGL2.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\ExtensionBase.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\ExtensionBase.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Gamepad.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\Gamepad.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IAdExt.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\IAdExt.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IAdvertising.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\IAdvertising.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IExtensionBase.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\IExtensionBase.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IniBundle.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\IniBundle.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\ISocial.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\ISocial.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerActivity.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\RunnerActivity.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerAdExt.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\RunnerAdExt.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerApplication.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\RunnerApplication.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerKeyboardController.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\RunnerKeyboardController.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerSocial.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\RunnerSocial.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerVsyncHandler.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\RunnerVsyncHandler.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Purchases\IRunnerBilling.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\Purchases\IRunnerBilling.java...
Copying X://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Purchases\Null\NullBilling.java to Z:/click_CC934E57\Android\Default\com.company.game\src\main\java\com\company\game\Purchases\Null\NullBilling.java...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\arm64-v8a\libc++_shared.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\arm64-v8a\libc++_shared.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\arm64-v8a\liboboe.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\arm64-v8a\liboboe.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\arm64-v8a\libyoyo.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\arm64-v8a\libyoyo.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\armeabi\libyoyo.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\armeabi\libyoyo.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\libc++_shared.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\armeabi-v7a\libc++_shared.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\liboboe.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\armeabi-v7a\liboboe.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\libyoyo.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\armeabi-v7a\libyoyo.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\mips\libyoyo.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\mips\libyoyo.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\mips64\libyoyo.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\mips64\libyoyo.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\x86\libc++_shared.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\x86\libc++_shared.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\x86\liboboe.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\x86\liboboe.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\x86\libyoyo.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\x86\libyoyo.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\x86_64\libc++_shared.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\x86_64\libc++_shared.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\x86_64\liboboe.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\x86_64\liboboe.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\x86_64\libyoyo.so to Z:/click_CC934E57\Android\Default\com.company.game\src\main\jniLibs\x86_64\libyoyo.so...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-hdpi\icon.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-hdpi\icon.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-hdpi-v26\adaptive_bg.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-hdpi-v26\adaptive_bg.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-hdpi-v26\adaptive_icon.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-hdpi-v26\adaptive_icon.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-hdpi-v26\icon.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-hdpi-v26\icon.xml...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-ldpi-v26\adaptive_bg.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-ldpi-v26\adaptive_bg.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-ldpi-v26\adaptive_icon.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-ldpi-v26\adaptive_icon.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-ldpi-v26\icon.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-ldpi-v26\icon.xml...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-mdpi-v26\adaptive_bg.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-mdpi-v26\adaptive_bg.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-mdpi-v26\adaptive_icon.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-mdpi-v26\adaptive_icon.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-mdpi-v26\icon.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-mdpi-v26\icon.xml...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\adaptive_bg.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-xhdpi-v26\adaptive_bg.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\adaptive_icon.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-xhdpi-v26\adaptive_icon.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\icon.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-xhdpi-v26\icon.xml...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\adaptive_bg.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-xxhdpi-v26\adaptive_bg.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\adaptive_icon.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-xxhdpi-v26\adaptive_icon.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\icon.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-xxhdpi-v26\icon.xml...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\adaptive_bg.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-xxxhdpi-v26\adaptive_bg.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\adaptive_icon.png to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-xxxhdpi-v26\adaptive_icon.png...
Copying X://android/runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\icon.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\drawable-xxxhdpi-v26\icon.xml...
Copying X://android/runner\ProjectFiles\src\main\res\layout\main.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\layout\main.xml...
Copying X://android/runner\ProjectFiles\src\main\res\layout\userpasslayout.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\layout\userpasslayout.xml...
Copying X://android/runner\ProjectFiles\src\main\res\values\strings.xml to Z:/click_CC934E57\Android\Default\com.company.game\src\main\res\values\strings.xml...
option_android_sync_amazon = False
option_android_display_name = Created with GameMaker Studio 2
option_android_version = 1.0.0.0
option_android_tools_from_version = False
option_android_build_tools = 24.0.3
option_android_support_lib = 24.0.0
option_android_target_sdk = 24
option_android_minimum_sdk = 9
option_android_compile_sdk = 24
option_android_package_domain = com
option_android_package_company = company
option_android_package_product = game
option_android_arch_armv7 = True
option_android_arch_x86 = False
option_android_arch_arm64 = True
option_android_arch_x86_64 = False
option_android_orient_portrait = True
option_android_orient_portrait_flipped = True
option_android_orient_landscape = True
option_android_orient_landscape_flipped = True
option_android_gamepad_support = True
option_android_lint = False
option_android_install_location = 0
option_android_sleep_margin = 4
option_android_splash_screens_landscape = ${base_options_dir}/android/splash/landscape.png
option_android_splash_screens_portrait = ${base_options_dir}/android/splash/portrait.png
option_android_splash_time = 0
option_android_launchscreen_fill = 0
option_android_splashscreen_background_colour = 255
option_android_tv_banner = ${base_options_dir}/android/tv_banner.png
option_android_interpolate_pixels = False
option_android_screen_depth = 0
option_android_device_support = 0
option_android_scale = 0
option_android_texture_page = 2048x2048
option_android_icon_ldpi = ${base_options_dir}/android/icons/ldpi.png
option_android_icon_mdpi = ${base_options_dir}/android/icons/mdpi.png
option_android_icon_hdpi = ${base_options_dir}/android/icons/hdpi.png
option_android_icon_xhdpi = ${base_options_dir}/android/icons/xhdpi.png
option_android_icon_xxhdpi = ${base_options_dir}/android/icons/xxhdpi.png
option_android_icon_xxxhdpi = ${base_options_dir}/android/icons/xxxhdpi.png
option_android_icon_adaptive_generate = False
option_android_icon_adaptive_ldpi = ${base_options_dir}/android/icons_adaptive/ldpi.png
option_android_icon_adaptive_mdpi = ${base_options_dir}/android/icons_adaptive/mdpi.png
option_android_icon_adaptive_hdpi = ${base_options_dir}/android/icons_adaptive/hdpi.png
option_android_icon_adaptive_xhdpi = ${base_options_dir}/android/icons_adaptive/xhdpi.png
option_android_icon_adaptive_xxhdpi = ${base_options_dir}/android/icons_adaptive/xxhdpi.png
option_android_icon_adaptive_xxxhdpi = ${base_options_dir}/android/icons_adaptive/xxxhdpi.png
option_android_icon_adaptivebg_ldpi = ${base_options_dir}/android/icons_adaptivebg/ldpi.png
option_android_icon_adaptivebg_mdpi = ${base_options_dir}/android/icons_adaptivebg/mdpi.png
option_android_icon_adaptivebg_hdpi = ${base_options_dir}/android/icons_adaptivebg/hdpi.png
option_android_icon_adaptivebg_xhdpi = ${base_options_dir}/android/icons_adaptivebg/xhdpi.png
option_android_icon_adaptivebg_xxhdpi = ${base_options_dir}/android/icons_adaptivebg/xxhdpi.png
option_android_icon_adaptivebg_xxxhdpi = ${base_options_dir}/android/icons_adaptivebg/xxxhdpi.png
option_android_use_facebook = False
option_android_facebook_id =
option_android_facebook_app_display_name =
option_android_google_cloud_saving = False
option_android_google_services_app_id =
option_android_permission_write_external_storage = False
option_android_permission_read_phone_state = False
option_android_permission_network_state = False
option_android_permission_internet = True
option_android_permission_bluetooth = True
option_android_permission_record_audio = False
option_android_application_tag_inject =
option_android_google_apk_expansion = False
option_android_google_dynamic_asset_delivery = False
option_android_google_licensing_public_key =
option_android_tv_isgame = True
parent =
resourceVersion = 1.0
name = Android
tags = System.Collections.Generic.List`1[System.Object]
resourceType = GMAndroidOptions
usesShaders = False
Deleting armeabi
Deleting x86
Deleting x86_64
Deleting mips
C:\WINDOWS\system32\cmd.exe /c "subst W: "Z:/click_CC934E57\Android\Default" && W: && cd \com.company.game && "X://android/runner\gradle\gradlew" build assembleRelease -x lint "
> Task :com.company.game:preBuild UP-TO-DATE
> Task :com.company.game:preDebugBuild UP-TO-DATE
> Task :com.company.game:generateDebugBuildConfig UP-TO-DATE
> Task :com.company.game:javaPreCompileDebug UP-TO-DATE
> Task :com.company.game:compileDebugAidl NO-SOURCE
> Task :com.company.game:compileDebugRenderscript NO-SOURCE
> Task :com.company.game:generateDebugResValues UP-TO-DATE
> Task :com.company.game:generateDebugResources UP-TO-DATE
> Task :com.company.game:mergeDebugResources UP-TO-DATE
> Task :com.company.game:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :com.company.game:extractDeepLinksDebug UP-TO-DATE

> Task :com.company.game:processDebugManifest FAILED
W:\com.company.game\src\main\AndroidManifest.xml Error:
uses-sdk:minSdkVersion 9 cannot be smaller than version 14 declared in library [androidx.legacy:legacy-support-v4:1.0.0] C:\Users\anato\.gradle\caches\transforms-2\files-2.1\be0f08ddbc7b2ceb9beb29e6b731c207\legacy-support-v4-1.0.0\AndroidManifest.xml as the library might be using APIs not available in 9
Suggestion: use a compatible library with a minSdk of at most 9,
or increase this project's minSdk version to at least 14,
or use tools:eek:verrideLibrary="androidx.legacy.v4" to force usage (may lead to runtime failures)

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.company.game:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 14 declared in library [androidx.legacy:legacy-support-v4:1.0.0] C:\Users\anato\.gradle\caches\transforms-2\files-2.1\be0f08ddbc7b2ceb9beb29e6b731c207\legacy-support-v4-1.0.0\AndroidManifest.xml as the library might be using APIs not available in 9
Suggestion: use a compatible library with a minSdk of at most 9,
or increase this project's minSdk version to at least 14,
or use tools:eek:verrideLibrary="androidx.legacy.v4" to force usage (may lead to runtime failures)

* 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 2s
7 actionable tasks: 1 executed, 6 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.

I am entirely new to this so I wouldn't know where to start.
My device uses android 7.0, so I installed SDK platform 7.0, along with the SDK Build-Tool version 24.0.3 (I chose this based on the "API Level" given in android studio. 24.0.3 being the latest iteration of 24).

My build settings:
API Level 24
24.0.3 Build Tools
24.0.0 Support Library
24 Target SDK
9 Minimum SDK
24 Compile SDK

Target, minimum and compile SDK are default values. Support library is also default, could this be the issue? I have not been able to find out which to choose.

EDIT: I have noticed that the first time I tried to run the project, GMS2 automatically downloaded "Android SDK Build Tool 29.0.2" via android studio. Does someone know the reason for this?
 
Last edited:

chirpy

Member
You're right about default min SDK value being unusable. The log says that a minimum of 14 is required.
uses-sdk:minSdkVersion 9 cannot be smaller than version 14 declared in library [androidx.legacy:legacy-support-v4:1.0.0] C:\Users\anato\.gradle\caches\transforms-2\files-2.1\be0f08ddbc7b2ceb9beb29e6b731c207\legacy-support-v4-1.0.0\AndroidManifest.xml as the library might be using APIs not available in 9
GMS2 now ignores build tools and support library settings in the android options, and lets gradle pick up the default build tools (defined by Android Studio) for you.
That's why it'd download "Android SDK Build Tool 29.0.2" despite your settings said 24.0.3.
 
As far as what you've shared above, at least this was the cause of your problem " uses-sdk:minSdkVersion 9 cannot be smaller than version 14 declared in library ".
Increase your min SDK to at least 14. If you're aiming to upload to Google Play Store, the target SDK should at least be 29, API Level 29. Though I'd personally suggest setting min to 16 and target to 30 as it'd give you the widest target audience. API below 14 are no longer supported, at least no longer on Google Play Store.
 

Baldi

Member
Thanks a lot guys!

Changing the minimum SDK to 14 got further in the building process than before, but still failed. Then using the build tool 29.0.2 worked!
 
Top