# Gradle missing

**URL:** <https://discuss.bitrise.io/t/gradle-missing/23820>\
**Category:** Android\
**Created:** [February 23, 2024, 4:26pm UTC](https://discuss.bitrise.io/t/gradle-missing/23820 "2024-02-23T16:26:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![onepointcf-e](https://avatars.discourse-cdn.com/v4/letter/o/8edcca/32.png) [@onepointcf-e](https://discuss.bitrise.io/u/onepointcf-e)\
**Post date:** [February 23, 2024, 4:26pm UTC](https://discuss.bitrise.io/t/gradle-missing/23820/1 "2024-02-23T16:26:37Z")

</div>

Hi,

I am using the following config :

```auto
meta:
  bitrise.io:
    stack: linux-docker-android-22.04
    machine_type_id: standard

```

When I run the command :

```auto
      - script@1:
          title: Build Android
          inputs:
            - content: |-
                ionic cordova compile android --release

```

it fails with error :

```auto
Could not find an installed version of Gradle either in Android Studio
or on your system to install the gradle wrapper. Please include gradle 
in your path, or install Android Studio

```

Isn’t Gradle supposed to be installed in the base image ?  
How can I use my command line in Bitrise ? (I do not plan to use Cordova-specific step)  
Previously (one year ago), I used the same command line in a iOS config and it worked fine.

Hope you can help,  
In advance, thanks for your help,  
Regards,

---

<div class="post-metadata">

**Author:** ![BalazsIlsinszki](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/balazsilsinszki/32/4428_2.png) [@BalazsIlsinszki](https://discuss.bitrise.io/u/BalazsIlsinszki)\
**Post date:** [February 26, 2024, 9:24am UTC](https://discuss.bitrise.io/t/gradle-missing/23820/2 "2024-02-26T09:24:03Z")

</div>

Hi @onepointcf-e,

Can you please [enable support access](https://devcenter.bitrise.io/en/apps/enabling-the-bitrise-support-user-for-your-app.html) on the repository and reach out to our support team and we will take a look:  
[https://support.bitrise.io/hc/en-us/requests/new](https://support.bitrise.io/hc/en-us/requests/new)

---

<div class="post-metadata">

**Author:** ![oliver.falvai](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/oliver.falvai/32/5030_2.png) [@oliver.falvai](https://discuss.bitrise.io/u/oliver.falvai)\
**Post date:** [February 26, 2024, 10:08am UTC](https://discuss.bitrise.io/t/gradle-missing/23820/3 "2024-02-26T10:08:36Z")

</div>

Hello @onepointcf-e 👋

Gradle is indeed missing from the stack, we highlighted in the upgrade nodes that it’s no longer preinstalled: [Ubuntu 22 public preview | Bitrise Stacks](https://stacks.bitrise.io/announcements/ubuntu-22/#gradle-maven-ant-are-no-longer-installed)

Your project’s build scripts depend on one specific Gradle version, so we can’t install one version that would work for every project out there. That’s why [Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html) exists, it lets you pin one specific Gradle version and download it on the fly.
