• 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 build failed

jasonjoky

Member
Plz help me my friends,thx a lot!!


GML:
"cmd"  /c subst W: "C:\Users\lijiajun\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.1486375s for command "cmd" /c subst W: "C:\Users\lijiajun\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 07/19/2021 20:34:09
"cmd"  /c subst V: "C:\Users\lijiajun\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0757955s for command "cmd" /c subst V: "C:\Users\lijiajun\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 07/19/2021 20:34:09
"cmd"  /c subst S: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.3.434"

elapsed time 00:00:00.0797856s for command "cmd" /c subst S: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.3.434" started at 07/19/2021 20:34:09
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.3.434/bin/Igor.exe"  -j=8 -options="C:\Users\lijiajun\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run

Loaded Macros from C:\Users\lijiajun\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\1550490345_F046D656_80280D5F\macros.json
Options: S:/bin\platform_setting_defaults.json
Options: C:\Users\lijiajun\AppData\Roaming/GameMakerStudio2\494607970_2475491\local_settings.json
Options: C:\Users\lijiajun\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\1550490345_F046D656_80280D5F\targetoptions.json
Setting up the Asset compiler
S://bin/GMAssetCompiler.exe  /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="1550490345_com" /td="V:/" /cd="W:/1550490345_F046D656_80280D5F" /zpuf="C:\Users\lijiajun\AppData\Roaming/GameMakerStudio2\494607970_2475491" /m=android /tgt=8 /studio  /nodnd /cfg="Default" /fU="W:/1550490345_F046D656_80280D5F\functionsUsed.txt" /o="V:/1550490345_com_34ED5FA1_VM" /optionsini="V:/1550490345_com_34ED5FA1_VM\options.ini"  /cvm /baseproject="S:/BaseProject\BaseProject.yyp" "C:\Users\lijiajun\Documents\GameMakerStudio2\1550490345_com\1550490345_com.yyp" /preprocess="W:/1550490345_F046D656_80280D5F"
We have a Zeus Project!
Found Project Format 2
ProjectFileWatcher:StartWatching:C:\Users\lijiajun\Documents\GameMakerStudio2\1550490345_com
Started: 2021/7/19 20:34:10
Finished: 2021/7/19 20:34:11
Diff: 00:00:00.6844602
Loaded Project: 1550490345_com
finished.
Release build
Options: W:/1550490345_F046D656_80280D5F\ExtensionOptions.json
PlatformOptions
Options: W:/1550490345_F046D656_80280D5F\PlatformOptions.json
Options: W:/1550490345_F046D656_80280D5F\MainOptions.json
displayname
hostname
runtime
OptionsIni
PlatformOptions
S://bin/GMAssetCompiler.exe  /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="1550490345_com" /td="V:/" /cd="W:/1550490345_F046D656_80280D5F" /zpuf="C:\Users\lijiajun\AppData\Roaming/GameMakerStudio2\494607970_2475491" /m=android /tgt=8 /studio  /nodnd /cfg="Default" /fU="W:/1550490345_F046D656_80280D5F\functionsUsed.txt" /o="V:/1550490345_com_34ED5FA1_VM" /optionsini="V:/1550490345_com_34ED5FA1_VM\options.ini"  /cvm /baseproject="S:/BaseProject\BaseProject.yyp" "C:\Users\lijiajun\Documents\GameMakerStudio2\1550490345_com\1550490345_com.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... V:/1550490345_com_34ED5FA1_VM\1550490345_com.zip
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Audio file 'snd_win' not found in cache!
Audio file 'snd_song' not found in cache!
Audio file 'snd_die' not found in cache!
Audio file 'snd_lose' not found in cache!
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
Texture Group - Default
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
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=673.2884
Stats : GMA : sp=6,au=6,bk=0,pt=0,sc=0,sh=0,fo=1,tl=0,ob=5,ro=4,da=0,ex=0,ma=4,fm=0xB00C48680020
device

DoSplash
DoIcon
AndroidEnvironment
Manifest Permissions
Manifest Metadata
Check GML functions
Licensing
Creating APK W:/1550490345_F046D656_80280D5F\1550490345_com_armeabi-v7a_arm64-v8a_v1.0.0.apk for arch 18
3
Copying S://android/runner\RootFiles\build.gradle to W:/1550490345_F046D656_80280D5F\Android\Default\build.gradle...
Copying S://android/runner\RootFiles\gradle.properties to W:/1550490345_F046D656_80280D5F\Android\Default\gradle.properties...
Copying S://android/runner\RootFiles\settings.gradle to W:/1550490345_F046D656_80280D5F\Android\Default\settings.gradle...
59
Copying S://android/runner\ProjectFiles\build.gradle to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\build.gradle...
Copying S://android/runner\ProjectFiles\lint.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\lint.xml...
Copying S://android/runner\ProjectFiles\libs\ini4j-0.5.2.jar to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\libs\ini4j-0.5.2.jar...
Copying S://android/runner\ProjectFiles\src\main\AndroidManifest.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\AndroidManifest.xml...
Copying S://android/runner\ProjectFiles\src\main\assets\splash.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\assets\splash.png...
Copying S://android/runner\ProjectFiles\src\main\java\com\yoyogames\runner\RunnerJNILib.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\yoyogames\runner\RunnerJNILib.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\AdvertisingBase.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\AdvertisingBase.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoGLSurfaceView.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\DemoGLSurfaceView.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoRenderer.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\DemoRenderer.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoRendererGL2.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\DemoRendererGL2.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\ExtensionBase.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\ExtensionBase.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Gamepad.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\Gamepad.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IAdExt.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\IAdExt.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IAdvertising.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\IAdvertising.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IExtensionBase.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\IExtensionBase.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IniBundle.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\IniBundle.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\ISocial.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\ISocial.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerActivity.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\RunnerActivity.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerAdExt.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\RunnerAdExt.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerApplication.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\RunnerApplication.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerKeyboardController.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\RunnerKeyboardController.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerSocial.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\RunnerSocial.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerVsyncHandler.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\RunnerVsyncHandler.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Purchases\IRunnerBilling.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\Purchases\IRunnerBilling.java...
Copying S://android/runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Purchases\Null\NullBilling.java to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\java\com\company\game\Purchases\Null\NullBilling.java...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\arm64-v8a\libc++_shared.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\arm64-v8a\libc++_shared.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\arm64-v8a\liboboe.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\arm64-v8a\liboboe.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\arm64-v8a\libyoyo.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\arm64-v8a\libyoyo.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\libc++_shared.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\armeabi-v7a\libc++_shared.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\liboboe.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\armeabi-v7a\liboboe.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\libyoyo.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\armeabi-v7a\libyoyo.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\x86\libc++_shared.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\x86\libc++_shared.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\x86\liboboe.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\x86\liboboe.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\x86\libyoyo.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\x86\libyoyo.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\x86_64\libc++_shared.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\x86_64\libc++_shared.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\x86_64\liboboe.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\x86_64\liboboe.so...
Copying S://android/runner\ProjectFiles\src\main\jniLibs\x86_64\libyoyo.so to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\jniLibs\x86_64\libyoyo.so...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-hdpi\icon.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-hdpi\icon.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-hdpi-v26\adaptive_bg.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-hdpi-v26\adaptive_bg.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-hdpi-v26\adaptive_icon.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-hdpi-v26\adaptive_icon.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-hdpi-v26\icon.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-hdpi-v26\icon.xml...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-ldpi-v26\adaptive_bg.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-ldpi-v26\adaptive_bg.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-ldpi-v26\adaptive_icon.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-ldpi-v26\adaptive_icon.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-ldpi-v26\icon.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-ldpi-v26\icon.xml...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-mdpi-v26\adaptive_bg.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-mdpi-v26\adaptive_bg.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-mdpi-v26\adaptive_icon.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-mdpi-v26\adaptive_icon.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-mdpi-v26\icon.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-mdpi-v26\icon.xml...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\adaptive_bg.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-xhdpi-v26\adaptive_bg.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\adaptive_icon.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-xhdpi-v26\adaptive_icon.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\icon.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-xhdpi-v26\icon.xml...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\adaptive_bg.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-xxhdpi-v26\adaptive_bg.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\adaptive_icon.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-xxhdpi-v26\adaptive_icon.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\icon.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-xxhdpi-v26\icon.xml...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\adaptive_bg.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-xxxhdpi-v26\adaptive_bg.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\adaptive_icon.png to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-xxxhdpi-v26\adaptive_icon.png...
Copying S://android/runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\icon.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\drawable-xxxhdpi-v26\icon.xml...
Copying S://android/runner\ProjectFiles\src\main\res\layout\main.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\layout\main.xml...
Copying S://android/runner\ProjectFiles\src\main\res\layout\userpasslayout.xml to W:/1550490345_F046D656_80280D5F\Android\Default\com.company.game\src\main\res\layout\userpasslayout.xml...
Copying S://android/runner\ProjectFiles\src\main\res\values\strings.xml to W:/1550490345_F046D656_80280D5F\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 =
option_android_support_lib = 30.0.0
option_android_target_sdk = 30
option_android_minimum_sdk = 16
option_android_compile_sdk = 30
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 P: "W:/1550490345_F046D656_80280D5F\Android\Default" && P: && cd \com.company.game && "S://android/runner\gradle\gradlew" build  assembleRelease  -x lint  "

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'root'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve com.android.tools.build:gradle:4.0.1.
     Required by:
         project :
      > Could not resolve com.android.tools.build:gradle:4.0.1.
         > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/4.0.1/gradle-4.0.1.pom'.
            > Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/4.0.1/gradle-4.0.1.pom'.
               > Connect to dl.google.com:443 [dl.google.com/172.217.174.206] failed: Connection timed out: connect

* 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 1m 7s


C:\Windows\system32\cmd.exe DONE (1)
C:\Windows\system32\subst.exe /d P:


C:\Windows\system32\subst.exe DONE (0)
Error : Build Failed
Igor complete.
"D:\lijiajun\mine\sdk\platform-tools\adb"  -s HBXDU19C02004859 shell echo hello world

elapsed time 00:00:00.1880007s for command "D:\lijiajun\mine\sdk\platform-tools\adb" -s HBXDU19C02004859 shell echo hello world started at 07/19/2021 20:39:14
Connection successful!
 

FoxyOfJungle

Kazan Games
I have 7 possible solutions:
  1. Try clearing the cache in the IDE and run or export the project again;
  2. Check if any firewall or antivirus is blocking the GMS 2 internet connection.
  3. Make sure you have internet access.
  4. If you are running the game via USB to run on your mobile, make sure you have debug enabled on the phone and other security permissions to install apps via USB;
  5. Press Windows + R and write: %userprofile%, then delete the .gradle folder. Close GMS 2, open it again and run the game. (It will probably download the gradle again).
  6. The message says that a file from gradle could not be downloaded, you can try to reinstall the SDK, NDK and JDK from scratch following this tutorial.
  7. Reinstall GMS 2 if nothing above resolved.
 

FrostyCat

Member
Given the Chinese name in the error logs, I would say it's because the SDK is trying to get Gradle from Google and that is being blocked at the ISP level. Try downloading Gradle from a non-Google source (e.g. the official site's Releases page), and set up the SDK dependencies using a China-based mirror (e.g. this one).
 

jasonjoky

Member
I have 7 possible solutions:
  1. Try clearing the cache in the IDE and run or export the project again;
  2. Check if any firewall or antivirus is blocking the GMS 2 internet connection.
  3. Make sure you have internet access.
  4. If you are running the game via USB to run on your mobile, make sure you have debug enabled on the phone and other security permissions to install apps via USB;
  5. Press Windows + R and write: %userprofile%, then delete the .gradle folder. Close GMS 2, open it again and run the game. (It will probably download the gradle again).
  6. The message says that a file from gradle could not be downloaded, you can try to reinstall the SDK, NDK and JDK from scratch following this tutorial.
  7. Reinstall GMS 2 if nothing above resolved.
thx for ur reply mate. I will try it .
 
Top