• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • 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 cant not build android yyc

S

Sorik

Guest
I'm using GMS2, It was working normally 2 weeks ago.
"cmd" /c subst Z: "C:\Users\Sorik\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"
elapsed time 00:00:00.0989953s for command "cmd" /c subst Z: "C:\Users\Sorik\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 10/09/2018 18:28:13
"cmd" /c subst Y: "C:\Users\Sorik\AppData\Local\GameMakerStudio2\GMS2TEMP"
elapsed time 00:00:00.1117656s for command "cmd" /c subst Y: "C:\Users\Sorik\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 10/09/2018 18:28:13
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.0.258"
elapsed time 00:00:00.1105532s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.0.258" started at 10/09/2018 18:28:13
Saving project to: C:\Users\Sorik\Documents\GameMakerStudio2\test\test(string)\test(string).yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.0.258/bin/Igor.exe" -options="C:\Users\Sorik\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Android Run
Loaded Macros from C:\Users\Sorik\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\test(strin_B869C30A_F8A687B\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Sorik\AppData\Roaming/GameMakerStudio2\daochihao98_878798\local_settings.json
Options: C:\Users\Sorik\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\test(strin_B869C30A_F8A687B\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="test(string)" /td="Y:/" /cd="Z:/test(strin_B869C30A_F8A687B" /zpuf="C:\Users\Sorik\AppData\Roaming/GameMakerStudio2\daochihao98_878798" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/test(strin_B869C30A_F8A687B\functionsUsed.txt" /o="Y:/test(string)_227B268A_YYC" /optionsini="Y:/test(string)_227B268A_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Sorik\Documents\GameMakerStudio2\test\test(string)\test(string).yyp" /v /preprocess="Z:/test(strin_B869C30A_F8A687B"
Reading project file....C:\Users\Sorik\Documents\GameMakerStudio2\test\test(string)
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\Sorik\Documents\GameMakerStudio2\test\test(string)\options\main\inherited\options_main.inherited.yy'
finished.
X://bin/GMAssetCompiler.exe DONE (0)
Release build
PlatformOptions
Options: Z:/test(strin_B869C30A_F8A687B\PlatformOptions.json
Options: Z:/test(strin_B869C30A_F8A687B\MainOptions.json
displayname
hostname
runtime
working dir: E:\steam\steamapps\common\GameMaker Studio 2 Desktop
C:\Users\Sorik\AppData\Local\Android\Sdk\platform-tools\adb devices
OptionsIni
PlatformOptions
working dir: E:\steam\steamapps\common\GameMaker Studio 2 Desktop
C:\Users\Sorik\AppData\Local\Android\Sdk\platform-tools\adb -s "4b139951e970924e" shell getprop ro.product.cpu.abilist
X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="test(string)" /td="Y:/" /cd="Z:/test(strin_B869C30A_F8A687B" /zpuf="C:\Users\Sorik\AppData\Roaming/GameMakerStudio2\daochihao98_878798" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/test(strin_B869C30A_F8A687B\functionsUsed.txt" /o="Y:/test(string)_227B268A_YYC" /optionsini="Y:/test(string)_227B268A_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Sorik\Documents\GameMakerStudio2\test\test(string)\test(string).yyp" /v /arch=3 /bt=exe
Reading project file....C:\Users\Sorik\Documents\GameMakerStudio2\test\test(string)
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\Sorik\Documents\GameMakerStudio2\test\test(string)\options\main\inherited\options_main.inherited.yy'
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
Final Compile...finished.
Writing Chunk... GEN8
option_game_speed=30
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... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
ClangExeLocation=E:\android-ndk\android-ndk-r13b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe
Using NDKDir = E:\android-ndk\android-ndk-r13b
Using PlatformDir = E:\android-ndk\android-ndk-r13b\platforms\android-24
Using ARMToolChain = E:\android-ndk\android-ndk-r13b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64
saving file Y:/test(string)_227B268A_YYC\test(string).droid
E:\android-ndk\android-ndk-r13b\ndk-build.cmd APP_STL=c++_shared APP_PLATFORM=android-14 APP_ABI="armeabi armeabi-v7a " -j 8 NDK_LIBS_OUT="Y:/test(string)_227B268A_YYC/lib"
Android NDK: ERROR:jni/libyoyo-prebuilt/Android.mk:yoyo-prebuilt: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that X://yyc/android/armeabi/lib/libyoyo.a exists or that its path is correct
E:/android-ndk/android-ndk-r13b/build//../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
Stats : GMA : Elapsed=1403.718
Stats : GMA : sp=3,au=0,bk=0,pt=0,sc=9,sh=0,fo=0,tl=0,ob=6,ro=4,da=0,ex=2,ma=8,fm=0xA20949842290
X://bin/GMAssetCompiler.exe exited with non-zero status (2)
seem like the problem is in these 2 lines:
Code:
Android NDK: ERROR:jni/libyoyo-prebuilt/Android.mk:yoyo-prebuilt: LOCAL_SRC_FILES points to a missing file   
Android NDK: Check that X://yyc/android/armeabi/lib/libyoyo.a exists  or that its path is correct
I've checked the yyc/android path, there is no folder name "armeabi".
here is the Android.mk code:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := yoyo-prebuilt
YYARCH := $(TARGET_ARCH_ABI)
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
YYARCH := armv7
endif
LOCAL_EXPORT_C_INCLUDES := X://yyc/include
LOCAL_SRC_FILES := X://yyc/android/$(YYARCH)/lib/libyoyo.a
include $(PREBUILT_STATIC_LIBRARY)
it should be something wrong with the variable $(YYARCH).
Thing I've tried:
-reinstall GMS2
-using different runtimes
-create empty project annd test
-reinstall java JDK, android ndk
 
S

Sorik

Guest
1/ use the latest runtime
2/ in android preference use the latest ndk (mine was 17c)
3/ uncheck the armv5 architecture in android option
since armeabi (armv5) has been deprecated that leads to build failed
 
Top