1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Android [SOLVED] Problems with android build - help!

Discussion in 'GameMaker Studio 2 Community Tech Support' started by gumbosoup, Feb 1, 2020.

  1. gumbosoup

    gumbosoup Member

    Joined:
    Mar 14, 2017
    Posts:
    3
    Hi, I've been trying to compile my game to android and it keeps giving me this error log

    • What went wrong: Execution failed for task ':com.gumbosoup.colorsnakesmash:processDebugResources'.

      Android resource linking failed W:\com.gumbosoup.colorsnakesmash\src\main\res\layout\download.xml:13: AAPT: error: resource string/banner_desc (aka com.gumbosoup.colorsnakesmash:string/banner_desc) not found.

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

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

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

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

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

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

      error: failed linking file resources.
    I'm at my wits end. I've reinstalled Android Visual Studio, updated everything everywhere, am using the latest version of GMS2... And this keeps happening.

    The only thing that comes to my mind is that I've followed the instructions on yoyo site closely but what I see in Android Studio does not exactly match their guide. For example there is no option anywhere to download support repositories and so on. I tried everything, three versions of NDK (20 and two 21s) changed SDK from 29 to 28, reduced minimum SDK to 28... everything, the damn thing simply refuses to build for android.

    Btw, using GMS2 2.2.5.378 and Android Studio 3.5.3. on win10. Help!
     
  2. gumbosoup

    gumbosoup Member

    Joined:
    Mar 14, 2017
    Posts:
    3
    SOLVED!!!

    It seems the problem was that I keep my project folder nested deeply on my Google Drive (I move a lot). When I moved the whole thing to the root of my PC the compile worked! I couldn't easily come to this solution (spent a whole day messing with it) because I usually build to win during development and that goes off smoothly from google drive.

    I leave this here to help strangers in need.
     

Share This Page