Android (Solved) Cant compile for android after 2.2.4.458 update

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Kaspars, Oct 9, 2019.

  1. Kaspars

    Kaspars Member

    Joined:
    Oct 9, 2019
    Posts:
    3
    Today i updated gamemaker studio 2 to IDE v 2.2.4.458 runtime v 2.2.4.364
    Everything worked perfectly before update.

    Compile error:

    > Configure project :com.companyname.ben_is_angry
    Build properties not found for package Android SDK Platform 29

    > Task :com.companyname.ben_is_angry:preBuild UP-TO-DATE
    > Task :com.companyname.ben_is_angry:preDebugBuild UP-TO-DATE
    > Task :com.companyname.ben_is_angry:compileDebugAidl UP-TO-DATE
    > Task :com.companyname.ben_is_angry:checkDebugManifest UP-TO-DATE
    > Task :com.companyname.ben_is_angry:generateDebugBuildConfig UP-TO-DATE
    > Task :com.companyname.ben_is_angry:compileDebugRenderscript NO-SOURCE
    > Task :com.companyname.ben_is_angry:prepareLintJar UP-TO-DATE
    > Task :com.companyname.ben_is_angry:generateDebugSources UP-TO-DATE
    > Task :com.companyname.ben_is_angry:javaPreCompileDebug UP-TO-DATE
    > Task :com.companyname.ben_is_angry:mainApkListPersistenceDebug UP-TO-DATE
    > Task :com.companyname.ben_is_angry:generateDebugResValues UP-TO-DATE
    > Task :com.companyname.ben_is_angry:generateDebugResources UP-TO-DATE
    > Task :com.companyname.ben_is_angry:createDebugCompatibleScreenManifests UP-TO-DATE
    > Task :com.companyname.ben_is_angry:mergeDebugResources UP-TO-DATE
    > Task :com.companyname.ben_is_angry:processDebugManifest UP-TO-DATE
    > Task :com.companyname.ben_is_angry:processDebugResources FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':com.companyname.ben_is_angry:processDebugResources'.
    > Android resource linking failed
    W:\com.companyname.ben_is_angry\src\main\res\layout\download.xml:13: AAPT: error: resource string/banner_desc (aka com.companyname.ben_is_angry:string/banner_desc) not found.

    W:\com.companyname.ben_is_angry\src\main\res\layout\download.xml:116: AAPT: error: resource string/text_button_pause (aka com.companyname.ben_is_angry:string/text_button_pause) not found.

    W:\com.companyname.ben_is_angry\src\main\res\layout\download.xml:130: AAPT: error: resource string/text_button_cancel (aka com.companyname.ben_is_angry:string/text_button_cancel) not found.

    W:\com.companyname.ben_is_angry\src\main\res\layout\download.xml:156: AAPT: error: resource string/text_paused_cellular (aka com.companyname.ben_is_angry:string/text_paused_cellular) not found.

    W:\com.companyname.ben_is_angry\src\main\res\layout\download.xml:163: AAPT: error: resource string/text_paused_cellular_2 (aka com.companyname.ben_is_angry:string/text_paused_cellular_2) not found.

    W:\com.companyname.ben_is_angry\src\main\res\layout\download.xml:176: AAPT: error: resource string/text_button_resume_cellular (aka com.companyname.ben_is_angry:string/text_button_resume_cellular) not found.

    W:\com.companyname.ben_is_angry\src\main\res\layout\download.xml:184: AAPT: error: resource string/text_button_wifi_settings (aka com.companyname.ben_is_angry:string/text_button_wifi_settings) not found.

    error: failed linking file resources.

    * 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

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
    Use '--warning-mode all' to show the individual deprecation warnings.
    See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings

    BUILD FAILED in 9s
    12 actionable tasks: 1 executed, 11 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.

    Everything worked perfectly before update.
    IDE v 2.2.4.458 runtime v 2.2.4.364
     

    Attached Files:

  2. Kaspars

    Kaspars Member

    Joined:
    Oct 9, 2019
    Posts:
    3
    I changed project companyname, and now i am able to compile with android VM, but YYC still doesnt work.
    Compile info:
    "cmd" /c subst Z: "C:\Users\kaspars\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

    elapsed time 00:00:00.0587096s for command "cmd" /c subst Z: "C:\Users\kaspars\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 10/09/2019 19:15:06
    "cmd" /c subst Y: "C:\Users\kaspars\AppData\Local\GameMakerStudio2\GMS2TEMP"

    elapsed time 00:00:00.0519677s for command "cmd" /c subst Y: "C:\Users\kaspars\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 10/09/2019 19:15:06
    "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.4.364"

    elapsed time 00:00:00.0689571s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.4.364" started at 10/09/2019 19:15:06
    Saving project to: C:\Users\kaspars\Documents\GameMakerStudio2\Ben is angry\Ben is angry.yyp
    "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.4.364/bin/Igor.exe" -j=8 -options="C:\Users\kaspars\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run

    Loaded Macros from C:\Users\kaspars\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Ben_is_ang_F4CAB338_25C9633E\macros.json
    Options: X:/bin\platform_setting_defaults.json
    Options: C:\Users\kaspars\AppData\Roaming/GameMakerStudio2\kaspax00_2178900\local_settings.json
    Options: C:\Users\kaspars\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Ben_is_ang_F4CAB338_25C9633E\targetoptions.json
    X://bin/GMAssetCompiler.exe /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="Ben is angry" /td="Y:/" /cd="Z:/Ben_is_ang_F4CAB338_25C9633E" /zpuf="C:\Users\kaspars\AppData\Roaming/GameMakerStudio2\kaspax00_2178900" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/Ben_is_ang_F4CAB338_25C9633E\functionsUsed.txt" /o="Y:/Ben_is_angry_7878F0B_YYC" /optionsini="Y:/Ben_is_angry_7878F0B_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\kaspars\Documents\GameMakerStudio2\Ben is angry\Ben is angry.yyp" /preprocess="Z:/Ben_is_ang_F4CAB338_25C9633E"
    Reading project file....C:\Users\kaspars\Documents\GameMakerStudio2\Ben is angry
    Reading project file....X:\BaseProject
    Reading config delta 'C:\Users\kaspars\Documents\GameMakerStudio2\Ben is angry\options\main\inherited\options_main.inherited.yy'
    finished.


    X://bin/GMAssetCompiler.exe DONE (0)
    Release build
    Options: Z:/Ben_is_ang_F4CAB338_25C9633E\ExtensionOptions.json
    PlatformOptions
    Options: Z:/Ben_is_ang_F4CAB338_25C9633E\PlatformOptions.json
    Options: Z:/Ben_is_ang_F4CAB338_25C9633E\MainOptions.json
    displayname
    hostname
    runtime
    OptionsIni
    PlatformOptions
    X://bin/GMAssetCompiler.exe /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="Ben is angry" /td="Y:/" /cd="Z:/Ben_is_ang_F4CAB338_25C9633E" /zpuf="C:\Users\kaspars\AppData\Roaming/GameMakerStudio2\kaspax00_2178900" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/Ben_is_ang_F4CAB338_25C9633E\functionsUsed.txt" /o="Y:/Ben_is_angry_7878F0B_YYC" /optionsini="Y:/Ben_is_angry_7878F0B_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\kaspars\Documents\GameMakerStudio2\Ben is angry\Ben is angry.yyp" /arch=52 /bt=exe /rt=yyc
    Reading project file....C:\Users\kaspars\Documents\GameMakerStudio2\Ben is angry
    Reading project file....X:\BaseProject
    Reading config delta 'C:\Users\kaspars\Documents\GameMakerStudio2\Ben is angry\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.
    finished.
    collapsing enums.
    Final Compile...finished.
    Looking for built-in particle images in X:\bin\ParticleImages
    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 - __YY__0spr_player_YYG_AUTO_GEN_TEX_GROUP_NAME_0
    Texture Group - Default
    Writing Chunk... TGIN
    Writing Chunk... STRG
    Writing Chunk... TXTR
    0 Compressing texture... writing texture texture_0.png...
    1 Compressing texture... writing texture texture_1.png...
    2 Compressing texture... writing texture texture_2.png...
    3 Compressing texture... writing texture texture_3.png...
    4 Compressing texture... writing texture texture_4.png...
    5 Compressing texture... writing texture texture_5.png...
    6 Compressing texture... writing texture texture_6.png...
    Writing Chunk... AUDO
    ClangExeLocation=C:\Users\kaspars\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe
    Using NDKDir = C:\Users\kaspars\AppData\Local\Android\Sdk\ndk-bundle
    Using PlatformDir = C:\Users\kaspars\AppData\Local\Android\Sdk\ndk-bundle\platforms\android-29
    Using X86ToolChain = C:\Users\kaspars\AppData\Local\Android\Sdk\ndk-bundle\toolchains\x86-4.9\prebuilt\windows-x86_64
    Using ARM64ToolChain = C:\Users\kaspars\AppData\Local\Android\Sdk\ndk-bundle\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64
    Using X86_64ToolChain = C:\Users\kaspars\AppData\Local\Android\Sdk\ndk-bundle\toolchains\x86_64-4.9\prebuilt\windows-x86_64
    saving file Y:/Ben_is_angry_7878F0B_YYC\Ben is angry.droid
    Android NDK: android-14 is unsupported. Using minimum supported version android-16.
    Android NDK: WARNING: APP_PLATFORM android-16 is higher than android:minSdkVersion 14 in ./AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-16. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
    Android NDK: ERROR:jni/libyoyo-prebuilt/Android.mk:yoyo-prebuilt: LOCAL_SRC_FILES points to a missing file
    Android NDK: Check that B://yyc/android/x86/lib/libyoyo.a exists or that its path is correct
    C:/Users/kaspars/AppData/Local/Android/Sdk/ndk-bundle/build//../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
    Stats : GMA : Elapsed=2800.7376
    Stats : GMA : sp=59,au=1,bk=8,pt=0,sc=50,sh=1,fo=2,tl=0,ob=51,ro=12,da=0,ex=0,ma=741,fm=0xC200A30929FC02A0


    X://bin/GMAssetCompiler.exe exited with non-zero status (2)
    "cmd" /c subst Z: /d

    elapsed time 00:00:24.7374238s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.4.364/bin/Igor.exe" -j=8 -options="C:\Users\kaspars\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run started at 10/09/2019 19:15:06
    elapsed time 00:00:00.0469693s for command "cmd" /c subst Z: /d started at 10/09/2019 19:15:31
    "cmd" /c subst Y: /d

    elapsed time 00:00:00.0479697s for command "cmd" /c subst Y: /d started at 10/09/2019 19:15:31
    "cmd" /c subst X: /d

    elapsed time 00:00:00.0479697s for command "cmd" /c subst X: /d started at 10/09/2019 19:15:31
    ---------- STOPPING ----------
    FAILED: Run Program Complete
    Saving project to: C:\Users\kaspars\Documents\GameMakerStudio2\Ben is angry\Ben is angry.yyp
    Saving 1 resources
     
  3. Kaspars

    Kaspars Member

    Joined:
    Oct 9, 2019
    Posts:
    3
    Fixed YYC problem, by saving project with new name.
     
  4. clee2005

    clee2005 Member

    Joined:
    Jun 25, 2016
    Posts:
    213
    @Kaspars project company name? Do you mean the Package Company name? I'm having this issue as well with one of my projects (which is odd since I just did two others and they build fine without this error).
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice