• 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 help me please

Status
Not open for further replies.

Leffenoso

Member
i cant compile to android. it says error: build failed in the compile errors and nothing beyond that. it works on everything except android. i looked for troubleshooting online but all the solutions didn't work. i need help
 

rIKmAN

Member
Post the full compile log using the CODE tag, also use SPOILER tags if it's excessively long.

You can find those as buttons in the toolbar above the textbox where you write your message.
 

Leffenoso

Member
ok. the log says

"cmd" /c subst Z: "C:\Users\leffe\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0279260s for command "cmd" /c subst Z: "C:\Users\leffe\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 07/23/2021 09:52:28
"cmd" /c subst Y: "C:\Users\leffe\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0269286s for command "cmd" /c subst Y: "C:\Users\leffe\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 07/23/2021 09:52:28
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.3.437"

elapsed time 00:00:00.0259123s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.3.437" started at 07/23/2021 09:52:28
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.3.437/bin/Igor.exe" -j=8 -options="C:\Users\leffe\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Package

Loaded Macros from C:\Users\leffe\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\mommy_birt_4A67A596_12A00889\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\leffe\AppData\Roaming/GameMakerStudio2\leffemonette_2615223\local_settings.json
Options: C:\Users\leffe\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\mommy_birt_4A67A596_12A00889\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="mommy birthday gift" /td="Y:/" /cd="Z:/mommy_birt_4A67A596_12A00889" /zpuf="C:\Users\leffe\AppData\Roaming/GameMakerStudio2\leffemonette_2615223" /m=android /tgt=8 /studio /nodnd /cfg="Default" /fU="Z:/mommy_birt_4A67A596_12A00889\functionsUsed.txt" /o="Y:/mommy_birthday_gift_9E597CA_VM" /optionsini="Y:/mommy_birthday_gift_9E597CA_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\leffe\OneDrive\Documents\GameMakerStudio2\mommy birthday gift\mommy birthday gift.yyp" /preprocess="Z:/mommy_birt_4A67A596_12A00889"
We have a Zeus Project!
Found Project Format 2
ProjectFileWatcher:StartWatching:C:\Users\leffe\OneDrive\Documents\GameMakerStudio2\mommy birthday gift
Started: 2021-07-23 9:52:29 AM
Finished: 2021-07-23 9:52:30 AM
Diff: 00:00:00.7234210
Loaded Project: mommy birthday gift
finished.
Release build
Options: Z:/mommy_birt_4A67A596_12A00889\ExtensionOptions.json
PlatformOptions
Options: Z:/mommy_birt_4A67A596_12A00889\PlatformOptions.json
Options: Z:/mommy_birt_4A67A596_12A00889\MainOptions.json
displayname
hostname
runtime
C:\Users\leffe\AppData\Local\Android\Sdk\platform-tools\adb connect "Android"
cannot resolve host 'Android' and port 5555: No such host is known. (11001)


C:\Users\leffe\AppData\Local\Android\Sdk\platform-tools\adb DONE (0)
C:\Users\leffe\AppData\Local\Android\Sdk\platform-tools\adb devices
List of devices attached



C:\Users\leffe\AppData\Local\Android\Sdk\platform-tools\adb DONE (0)
OptionsIni
PlatformOptions
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="mommy birthday gift" /td="Y:/" /cd="Z:/mommy_birt_4A67A596_12A00889" /zpuf="C:\Users\leffe\AppData\Roaming/GameMakerStudio2\leffemonette_2615223" /m=android /tgt=8 /studio /nodnd /cfg="Default" /fU="Z:/mommy_birt_4A67A596_12A00889\functionsUsed.txt" /o="Y:/mommy_birthday_gift_9E597CA_VM" /optionsini="Y:/mommy_birthday_gift_9E597CA_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\leffe\OneDrive\Documents\GameMakerStudio2\mommy birthday gift\mommy birthday gift.yyp" /arch=2 /bt=exe /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:/mommy_birthday_gift_9E597CA_VM\mommy birthday gift.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
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
Stats : GMA : Elapsed=1517.8473
Stats : GMA : sp=20,au=1,bk=0,pt=1,sc=0,sh=0,fo=0,tl=0,ob=16,ro=19,da=0,ex=0,ma=508,fm=0x300442E00000
AndroidEnvironment
Manifest Permissions
Manifest Metadata
Check GML functions
Licensing
DoSplash
DoIcon
Creating APK C:\Users\leffe\OneDrive\Documents\mommy birthday gift.apk for arch ARM7
3
Copying X://android/runner\RootFiles\build.gradle to Z:/mommy_birt_4A67A596_12A00889\Android\Default\build.gradle...
Copying X://android/runner\RootFiles\gradle.properties to Z:/mommy_birt_4A67A596_12A00889\Android\Default\gradle.properties...
Copying X://android/runner\RootFiles\settings.gradle to Z:/mommy_birt_4A67A596_12A00889\Android\Default\settings.gradle...
59
Copying X://android/runner\ProjectFiles\build.gradle to Z:/mommy_birt_4A67A596_12A00889\Android\Default\com.company.game\build.gradle...
Copying X://android/runner\ProjectFiles\lint.xml to Z:/mommy_birt_4A67A596_12A00889\Android\Default\com.company.game\lint.xml...
Copying X://android/runner\ProjectFiles\libs\ini4j-0.5.2.jar to Z:/mommy_birt_4A67A596_12A00889\Android\Default\com.company.game\libs\ini4j-0.5.2.jar...
Copying X://android/runner\ProjectFiles\src\main\AndroidManifest.xml to Z:/mommy_birt_4A67A596_12A00889\Android\Default\com.company.game\src\main\AndroidManifest.xml...
Copying X://android/runner\ProjectFiles\src\main\assets\splash.png to Z:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\Android\Default\com.company.game\src\main\jniLibs\arm64-v8a\libyoyo.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\libc++_shared.so to Z:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\Android\Default\com.company.game\src\main\jniLibs\armeabi-v7a\libyoyo.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\x86\libc++_shared.so to Z:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\Android\Default\com.company.game\src\main\jniLibs\x86\liboboe.so...
Copying X://android/runner\ProjectFiles\src\main\jniLibs\x86\libyoyo.so to Z:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\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:/mommy_birt_4A67A596_12A00889\Android\Default\com.company.game\src\main\res\layout\main.xml...
Copying X://android/runner\ProjectFiles\src\main\res\layout\userpasslayout.xml to Z:/mommy_birt_4A67A596_12A00889\Android\Default\com.company.game\src\main\res\layout\userpasslayout.xml...
Copying X://android/runner\ProjectFiles\src\main\res\values\strings.xml to Z:/mommy_birt_4A67A596_12A00889\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 = 31.0.0
option_android_target_sdk = 31
option_android_minimum_sdk = 16
option_android_compile_sdk = 31
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 = False
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 arm64
Deleting mips
C:\Windows\system32\cmd.exe /c "subst U: "Z:/mommy_birt_4A67A596_12A00889\Android\Default" && U: && cd \com.company.game && "X://android/runner\gradle\gradlew" build assembleRelease -x lint "
Unzipping C:\Users\leffe\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1-all.zip to C:\Users\leffe\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst
Exception in thread "main" java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1567)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1462)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1469)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1274)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1237)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:727)
at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:844)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:247)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:177)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:191)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)


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


C:\Windows\system32\subst.exe DONE (0)
Error : Build Failed
Igor complete.
elapsed time 00:00:11.6117936s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.3.437/bin/Igor.exe" -j=8 -options="C:\Users\leffe\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Package started at 07/23/2021 09:52:28
"cmd" /c subst Z: /d

elapsed time 00:00:00.0289227s for command "cmd" /c subst Z: /d started at 07/23/2021 09:52:40
"cmd" /c subst Y: /d

elapsed time 00:00:00.0269274s for command "cmd" /c subst Y: /d started at 07/23/2021 09:52:40
"cmd" /c subst X: /d

elapsed time 00:00:00.0259312s for command "cmd" /c subst X: /d started at 07/23/2021 09:52:40
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.
 

TsukaYuriko

☄️
Forum Staff
Moderator
A couple of things I noticed at a first glance:
- Your project is in a cloud drive. This is the fastest way to corrupt your project due to file access conflicts, so move it out of there.
- You have spaces in your project name. Spaces and file paths are never a good idea, as spaces act as logical separators on a command line, and the last thing you want is to cut off part of your file path.
- This:
C:\Users\leffe\AppData\Local\Android\Sdk\platform-tools\adb connect "Android"
cannot resolve host 'Android' and port 5555: No such host is known. (11001)
 

Leffenoso

Member
I cant move it out of the cloud drive. I’d have to re-write basically everything. Also, i can change the spaces.
but what agout that last line? How do i fix that?
 

TsukaYuriko

☄️
Forum Staff
Moderator
I cant move it out of the cloud drive. I’d have to re-write basically everything.
Why?

but what agout that last line? How do i fix that?
Whatever Android device you're trying to test on is not being recognized. Ensure that the device is connected properly, that USB debugging is enabled on it, that the host device has permissions to use it via ADB and that it is recognized as a connected device by ADB.
 

rIKmAN

Member
So you are trying to upload an APK to the Play Store without ever having tested the game on an Android device?
Can you explain your thinking behind this decision?

Why can't you move your project from the cloud drive to a local drive?

To build an APK you use Build > Create Executable in the IDE.
You are trying to Build+Run from within the IDE so it is failing to find a device to push the build to - hence your error as I assume you have never setup a device or emulator device to be used for testing.

Honestly, it sounds like you don't understand much about what you are doing, haven't put much time into learning about what you need to know to do this successfully and are just setting yourself up for failure.
 

FrostyCat

Member
Developing for a platform that you don't have a device for is a bad idea. Getting the APK is the easy part, the hard part is making sure that your game runs properly on mainstream Android devices. For example, if your project accepts only WASD input, you would still get an APK out, but anyone with half a brain knows what can go wrong from there.
 
Last edited:

Leffenoso

Member
I know that it does work, i have a web version with lots of bugs, because i used the html5 and didnt know what to do with the file. I know what to do with an apk, so i know it works. How do i get the apk? I clicked create executable and package as apk, but got that error
 

TsukaYuriko

☄️
Forum Staff
Moderator
Your game working on one platform doesn't mean it will work on other platforms.


Are you able to create any APKs at all? What about an empty project? Does that build?
 

FrostyCat

Member
I know that it does work, i have a web version with lots of bugs, because i used the html5 and didnt know what to do with the file.
You should know what to do with the file after reading this.

Besides, seeing it "work" on HTML5 while playing it on a desktop system says nothing about its suitability for mobile devices. For starters, if you cannot operate the game using your mouse alone AND with Chrome's Device Mode or Firefox's Responsive Design Mode on, you have a game that will have issues on any touch-based Android device.

How do i get the apk? I clicked create executable and package as apk, but got that error
First, move your project out of OneDrive. Just close GMS 2, drag the entire project directory out of OneDrive, and continue working on it by double-clicking the .yyp file inside. Until you do what we said about this, there is no telling what version of anything is going into the build. The OneDrive sync daemon will be fighting for access to your files with the IDE at development time. That will break stuff behind your back.

Second, this line is your showstopper:
Code:
Unzipping C:\Users\leffe\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1-all.zip to C:\Users\leffe\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst
Exception in thread "main" java.util.zip.ZipException: zip END header not found
The compiler is trying to download Gradle, but the download got cut off. It needs Gradle for every subsequent step in building the APK, so it stopped there.

I suggest that you try building blank projects a few more times with 5-10 minute breaks in between, in case it is a temporary network issue. Alternatively, try manually installing the version of Gradle mentioned in the error message.
 

TsukaYuriko

☄️
Forum Staff
Moderator
An HTML5 export of a game running in a browser on a mobile device does not mean that an Android export of it will run flawlessly on that same mobile device, or that the compilation will even be successful. You are vastly underestimating the differences between these two things.
 

rIKmAN

Member
Can you just tell me how to get my apk? I don’t need a lecture.
Don't be that guy.
You're asking people to take time out of their day to help with a problem you have, the least you can do is be polite and not act like an entitled child when they do so.
 
Status
Not open for further replies.
Top