Android not working? help me

Discussion in 'Programming' started by TomCartwright, Aug 15, 2019.

  1. TomCartwright

    TomCartwright Member

    Joined:
    Aug 14, 2019
    Posts:
    8
    FAILURE: Build failed with an exception.
    * What went wrong:
    A problem occurred configuring project ':com.company.game'.
    > Could not resolve all dependencies for configuration ':com.company.game:_debugApkCopy'.
    > Could not find com.android.support:support-v4:29.0.0.
    Required by:
    project :com.company.game
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    BUILD FAILED
    Total time: 2 mins 4.819 secs

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

    C:\Windows\system32\subst.exe DONE (0)
    Error : Build Failed
    Igor complete.
     
  2. NoFontNL

    NoFontNL Member

    Joined:
    Feb 10, 2018
    Posts:
    287
    As you may know, to build android applications you need android build tools, you need to download the support library 29.0 via SDK manager
     
  3. TomCartwright

    TomCartwright Member

    Joined:
    Aug 14, 2019
    Posts:
    8
    I'm trying it's now saying

    A problem occurred configuring project ':com.company.game'.
    > Could not resolve all dependencies for configuration ':com.company.game:_debugApkCopy'.
    > Could not find com.android.support:support-v4:29.0.0.
    Required by:
    project :com.company.game
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    BUILD FAILED
    Total time: 14.318 secs

    C:\Windows\system32\cmd.exe exited with non-zero status (1)
     
  4. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,435
  5. TomCartwright

    TomCartwright Member

    Joined:
    Aug 14, 2019
    Posts:
    8
    So I have to unzip and install every package from SDK for every version of Android...? I preferred using the older GM Studio, it worked then..
     
  6. TomCartwright

    TomCartwright Member

    Joined:
    Aug 14, 2019
    Posts:
    8
    I'm installing all Obsolete packages now
     
  7. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,435
    You don't need all the different versions. At this moment, just API level 28 is enough to get you started.
    I got mine working without any of the obsolete packages.

    Seriously, read the Helpdesk's instructions and don't just install everything blindly.
     
  8. TomCartwright

    TomCartwright Member

    Joined:
    Aug 14, 2019
    Posts:
    8
    Error : The selected Architecture options do not support this device. Please add x86

    (the compiler says ?)
     
  9. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,435
    Go to Options > Android > General > Architecture and check "Build for x86". Then clear out your compile cache and re-build.
    [​IMG]
     
  10. TomCartwright

    TomCartwright Member

    Joined:
    Aug 14, 2019
    Posts:
    8
    I've tried that

    i'm installing all the sdk files..
     
  11. TomCartwright

    TomCartwright Member

    Joined:
    Aug 14, 2019
    Posts:
    8
    nope, still not working
     
  12. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,428
    Saying "Nope it t doesn't work" doesn't give anyone enough information to try and help you.

    Post the new error message and compiler output, along with all your current settings and versions GMS2, SDK, JDK etc.
     
  13. TomCartwright

    TomCartwright Member

    Joined:
    Aug 14, 2019
    Posts:
    8
    * What went wrong:
    A problem occurred configuring project ':CreativeCartwright.CreativeCartwright.TheGuardianOfOlmec'.
    > Could not resolve all dependencies for configuration ':CreativeCartwright.CreativeCartwright.TheGuardianOfOlmec:_debugApkCopy'.
    > Could not find com.android.support:support-v4:29.0.0.
    Required by:
    project :CreativeCartwright.CreativeCartwright.TheGuardianOfOlmec
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    BUILD FAILED
     
  14. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,435
    Once again, install Android Support Repository in your SDK manager like you've been told.
     

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