Skip to content
Discussion options

You must be logged in to vote

Hi @criterionhcm-ionic the build isn’t taking 10+ minutes due to downloading or installing Android Build Tools v34. The main reason for the longer duration is the heavy dependencies in your project.

For comparison, here's a screenshot of one of my builds, it completes in under 3 minutes:

If you're looking to speed up your Android builds, I recommend caching the following paths:

  android-workflow:
        name: Android Workflow
        max_build_duration: 120
        instance_type: mac_mini_m2
        cache:
          cache_paths:
            - $HOME/.gradle/caches
            - $HOME/.pub-cache

Please note caching only takes effect after a successful build, so you’ll need at least one …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@criterionhcm-ionic
Comment options

Answer selected by criterionhcm-ionic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants